This page will describe how to configure Cognitive Services together with Digizuite.
- How to setup Computer Services from your Azure Portal.
- Pricing Details
- Find Endpoint and Subscription key in the Azure Portal
- Change the Appsettings App settings in Digizuite to use the Endpoint and Subscruption Subscription Key.
Note: This guide shows you how to configure the AI feature on the Azure portal: How to add AI tagging (on Azure hosted environment), APP service (Lasse Brønnum Brønsholt (Unlicensed) )
...
Add the Computer Vision service to your account through the azure Azure portal:
Select a pricing tier that fits your consumption. After adding the service it will appear in your dashboard.
...
Pricing details can be found here: https://azure.microsoft.com/en-us/pricing/details/cognitive-services/computer-vision/
"For Recognize Text each POST call counts as a transaction. All GET calls to see the results of the async service are counted as transactions but are free of charge. For all other operations, each feature call counts as a transaction, whether called independently or grouped through the Analyze call. Analyze calls are used to make calling the API easier, but each feature used counts as a transaction. For instance, an Analyze call containing Tag, Face, and Adult would count as three transactions."
The features that are supported is are shown below here. The number of transaction transactions is dependent on the number of visual features wanted. So if the system is configured with all, then it will be 7 transactions per asset.
ImageType = 0,
Faces = 1,
Adult = 2,
Categories = 3,
Color = 4,
Tags = 5,
Description = 6
...
In order to use the facial recognition features of the cognitive service, you must create a Faces resource in the azure Azure portal.
Once the services is are created, go to the Quick start tab of the resource and locate the Api API Key (Key1) and the Endpoint:
...
These are the FacesKey and the FacesEndpointUrl in the appsettingsapp settings, respectively.
The FacesPersonGroup setting is a string which that defines the name of the persongroup person group used for facial recognition.
...
For customers with their own Face resourceresources, simply use the name of the customer or similar. The string must be without spaces or special characters and must be all lowercase.
...
To entirely disable the Video service, please set the VideoIndexerWatcherInterval to 0.
Appsettings App settings in the Digizuite
These must be correctly added to app.settings under damcenter/DigizuiteCore/appsettings.json:
...
To enable more Visual Features, simply separate them by a comma. For example: VisualFeatures": "Tags,Adult,Description"
...