Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This page will describe how to configure Cognitive Services together with Digizuite.

...

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/wiki/spaces/PSBOK/pages/702939141 (Lasse Brønnum Brønsholt (Unlicensed)  )

Configure Azure Portal

Add the Computer Vision service to your account through the Azure portal:

...

Select a pricing tier that fits your consumption. After adding the service it will appear in your dashboard.

Pricing Details

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 are shown below here. The number of 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

The default configuration for the service is setup to only analyze for Tags. This will mean that we out of the box will have 1 transaction per asset.

Endpoint & Subscription Key

It's important for the Digizuite AI Service to have the endpoint and subscription key. These can be found when selecting the service in Azure as shown below:

...

Info

Make sure that the resource you take the info from, is of the API type "Computer Vision" (See image above for more info)


Facial Recognition

In order to use the facial recognition features of the cognitive service, you must create a Faces resource in the Azure portal.

...

Info

Make sure that the resource you take the info from, is of the API type "Face" (Can be found in the "Overview" of the resource under API type)

Video Transcription

In order to use the Video Transcription features of the cognitive services, a videoindexer subscription key must be acquired and configured.

...

To entirely disable the Video service, please set the VideoIndexerWatcherInterval to 0.


Translation services

Translation services are available under the resource type "translation" in the azure portal. Once the resource has been created, the keys are available the same way as specified under Endpoint & Subscription Key above.


App settings in the Digizuite

These must be correctly added to app.settings under damcenter/DigizuiteCore/appsettings.json:

...