Extension:MachineVision

The MachineVision extension supports collecting data about Commons images from internal and external machine vision services and storing it for on-wiki usage.

For details on the project, see Wikimedia Product/Machine vision middleware.

Functionality
MachineVision provides the following:

Get image labels of given pages

 * Provides an interface to fetch image labels as prop of the given pages
 * Exposes an Action API module, query+imagelabels

Get unreviewed image labels

 * Provides an interface to fetch unreviewed image labels grouped by files
 * Exposes an Action API module, query+unreviewedimagelabels
 * Other possible parameters for this API module are:
 * - default is 10
 * - default is "en"

Get Unreviewed image count

 * Provides an interface to fetch the total of unreviwed images for the logged in user
 * Exposes an Action API module, query+unreviewedimagecount

Review Image Labels

 * Provides an interface to change the state of a given label
 * Exposes an Action API module, reviewimagelabels, that receives a POST verb with the following parameters:
 * batch of objects containing a map of Q ids and their reviews
 * NOTE: Wikidata Depicts (P180) claims must be added through a separate API request to wbsetclaim.
 * batch of objects containing a map of Q ids and their reviews
 * NOTE: Wikidata Depicts (P180) claims must be added through a separate API request to wbsetclaim.

Configuration
To configure the extension, please refer to the Configuration section of the extension's README file as well as the list of configuration variables in the extension.json file.