Google Cloud Vision AI
Description
Google Cloud Vision AI provides two key features for image tagging: AutoML Vision and Vision API.
AutoML Vision is for training machine learning models so that users can classify images by custom labels whereas Vision API detects among others objects, faces and texts.
The OMN integration works together with Google Cloud Vision AI via an API.
To use Google Cloud Vision AI services in the OMN context, a paid subscription must be purchased.
Configuration Parameters
Workflow-Name: ai-imagetagging
General parameters
| Key (* = required) | Type | Default | Description | Example |
|---|---|---|---|---|
ext.ai-imagetagging.tagTargetAttribute* |
string |
Target MAM attribute identifier where to write the detected tags to. The attribute needs to be of type "string" |
||
ext.ai-imagetagging.taggingService |
string |
Tagging service to use. Can be 'google', 'clarifai', 'ms', 'pixyle', 'imagga' or 'ximilar-recognition' whereby 'google' is default |
clarifai |
|
ext.ai-imagetagging.tagThreshold |
double |
0.90 |
Threshold for tag detection. Only a score higher than this value will be considered for tags |
|
ext.ai-imagetagging.prettyPrint |
boolean |
false |
If true, prints a pretty string like a HTML rendered table. Used for demo purposes |
true |
Google Cloud Vision
| Key (* = required) | Type | Default | Description | Example |
|---|---|---|---|---|
ext.ai-imagetagging.google.apiKey* |
string |
API Key for the Google Vision service |
||
ext.ai-imagetagging.google.apiUrl |
string |
Base URL of the Google Vision service |
||
ext.ai-imagetagging.google.features |
string - multiple |
LABELS_DETECTION |
List of google feature types which should be run on the selected asset. See here for full list: https://cloud.google.com/vision/docs/reference/rest/v1/Feature |
FACE_DETECTION, LABEL_DETECTION, WEB_DETECTION |
ext.ai-imagetagging.google.maxResults |
long |
15 |
Maximum number of results to return for each feature |
|
ext.ai-imagetagging.google.mamAttributeMappings |
string - multiple |
See "Mappings" below for full mapping |
list of json path to MAM attribute identifier mappings. Specify here to map which values from Google API result should be written to which MAM attribute identifier (comma separated if multiple values) |
Example configuration
A detailed step-by-step guide to the configuration of the Workflow Config Function plug-in can be found on this page.