Share This Post

NAV Updates

Dynamics NAV Image Analyzer Extension

In this Article, we will show how to enable and install the Dynamics NAV Image Analyzer extension.

The NAV Image Analyzer extension uses powerful Image Analytics given by the Computer Vision API for Microsoft Cognitive Services to detect attributes in the images that you import for items and contact the persons, so you can easily review and assign them. For items, attributes could be whether the item is the table or a car and whether it is red or blue. For contact persons, the attributes can be gender or age.

NAV Image Analyzer suggests that attributes based on tags that the Computer Vision API finds and a confidence level. By default, it suggests attributes only if it is at least 80% sure that attribute is correct. You can set another confidence level if needed.

NAV Image Analyzer is free, but there is a limit to items that you can analyze during a certain period of time. By default, you can analyze the 100 images per month.

After you enable the extension, the NAV Image Analyzer runs each time you import an image to an item or contact person. You will see the attributes, confidence level, and the details right away, and can decide what to do with each attribute. If you imported the images before you enabled the Image Analyzer extension, you must go to the item or contact cards and choose the Analyze Picture action.

Requirements

There are a few requirements for the images:

  • Image formats: JPEG, PNG, GIF, BMP
  • Maximum file size: Less than 4 MB
  • Image dimensions: Greater than 50 x 50 pixels

Blacklisting suggested attributes

If the analysis suggests the attribute that you do not want to see you can blacklist the attribute. Use caution, however. Blacklisted attributes are not suggested for other contact persons either. If you regret blacklisting the attribute, you can choose Blacklisted Attributes, and then delete the attribute from the list.

To Enable NAV Image Analyzer

The Image Analyzer extension is built-in to the Dynamics NAV. You just need to turn it on.

  1. To enable Image Analyzer extension, do one of the following:
  • Open an item or contact card. In the notification bar, select Analyze Images and then follow the steps in the assisted setup guide.
  • Enter Service Connections, and then select Image Analysis Setup. Select the Enable Image Analyzer check box, and then complete the steps in the assisted setup guide.

To Analyze an Image of an Item

The below steps describe how to analyze an image that was imported before you enabled the Image Analyzer extension.

  1. Enter Items, and then choose the related link.
  2. Select the item, and then choose the Analyze Picture action.
  3. The Image Analyzer Attributes page displays the detected attributes, the confidence level, and other details about attribute. Use the Action to perform options to mention what to do with the attribute.

To Analyze a Picture of a Contact Person

The below steps describe how to analyze an image that was imported before you enabled the Image Analyzer extension.

  1. Enter Contacts, and then choose the related link.
  2. Select the contact person, and then choose the Analyze Picture action.
  3. On the Profile Questionnaire FastTab, review the suggestions, and make corrections if they needed.

To Use Your own Account for a Computer Vision API

You can also use your own account for a Computer Vision API, for example, if you want to analyze more images than we allow.

  1. Enter Image Analyzer Setup, and then select the related link.
  2. Enter the API URI and API Key that you received for a Computer Vision API.

To See how many Analyses you have Left in a Current Period

You can view the number of analyses you’ve done, and how many you can still do, in a current period.

  1. Enter Image Analyzer Setup, and then select the related link.
  2. The Limit typeLimit value, and Analyzes performed give the usage information.

To Stop Using the Image Analyzer Extension

  1. Enter Service Connections, and then select Image Analyzer Setup.
  2. Clear the Enable Image Analyzer check box.

For this extension, you will create an API for cognitive services. In the Azure portal select Cognitive Services and click on Create.

NAV Image Analyzer

Azure portal choose Cognitive Services

In next step enter an appropriate name, choose Computer Vision API as API Type and choose pricing tier as well as a resource group.

Computer Vision API

There is 2 available Pricing tier in the Visual Studio Enterprise subscription.

When a process is over you will get your Azure cognitive services. Now go to an overview of service and remember the Endpoint.

Azure cognitive services

Under the Resource management, you will find Keys and take the copy of one of 2 available.

find Keys

Find Keys

Now step into the NAV 2018 and go to Extension management and install NAV Image Analyzer extension.

install Image analyzer extension

Install Image analyzer extension

Next step is to configure the Service connection for NAV Image Analyzer. Go to the Departments -> IT Administration -> Services -> Service connections and find Image analysis setup.

Service connection for Image Analyzer

Service connection for Image Analyzer

Double click on it or click on the Navigate tab and then Setup under General group. The new window will open.

General group

General Group

Copy Endpoint from the Cognitive Services API and at the end add /analyze in API URI. In API Key enter one of the keys from Cognitive Services API. In the limit, type enters select Month, and in Limit Value enter 5000 which is limit for our subscription F0.

Conclusion

In this Article, we dealt with the Dynamics NAV Image Analyzer Extension and its setup.

Share This Post

Leave a Reply

avatar
  Subscribe  
Notify of
Skip to toolbar