Describe Image Action In Microsoft Computer Vision Cognitive Service With Desktop flow Using Microsoft Power Automate

Microsoft Power Automate is a software by Microsoft for automation of recurring tasks. It is part of the Microsoft Power Platform line of products together with products such as Power Apps and Power BI. More details cn be found here:  https://powerautomate.microsoft.com/en-us/

Microsoft cognitive services enable users to accelerate decision-making using artificial intelligence without requiring machine learning expertise.

Desktop flows are the existing robotic process automation (RPA) capabilities in Power Automate and enable you to automate all repetitive desktop processes. Its also provide a wide variety of Microsoft cognitive actions that allow you to integrate this functionality into your flows. Text analysis, computer vision, and spell checking are all tasks that Microsoft cognitive actions can perform. More Details https://docs.microsoft.com/en-us/power-automate/desktop-flows/introduction.

The Microsoft cognitive computer vision - Describe image action generates a description of an image in human readable language with complete sentences. The description is based on a collection of content tags, which are also returned by the operation.

Reading this article, you can learn how to analysing an image with Microsoft cognitive computer vision - Describe image action in Desktop flow using Microsoft Power Automate.

The following important tools are required for developing Microsoft Power Automate,

  1. Windows 10/11 (Recommended)
  2. Power Automate Desktop - Download the Power Automate installer
  3. Microsoft Azure account - https://azure.microsoft.com/en-in/

Now we can discuss step by step App development.

Step 1

Open Microsoft Power Automate ->  New Flow

Describe image Action in Desktop flow

Next, Give the Flow name as PADCogDesIMG, Click the Create button,

Describe image Action in Desktop flow

After that, we are able to see the Desktop flow,

Describe image Action in Desktop flow

Step 2

For testing Microsoft cognitive computer vision - Describe image action,

First, get the Azure cognitive service subscription details  -  Refer to the link for creating a Coginitive service in Microsoft Azure.

Describe image Action in Desktop flow

The Sample Image. Image file is,

Describe image Action in Desktop flow

Next, add the Describe image action, Set the Server location Parameter as West US 2, Subscription key Parameter as ************** and Provide image Parameter as From file, Image file Parameter as C:\Users\shanv\Desktop\Sample Image.jpg, Max Candidate Parameter as 2 and Click Save Button

Describe image Action in Desktop flow

For displaying result, add the Display message action and Set the Message box Title Parameter as Display Describe image Result, Message to display Parameter as %JSONResponse% Click Save Button

Describe image Action in Desktop flow

Now, Save the PADCogDesIMG Desktop Flow,

Describe image Action in Desktop flow

Step 3

Now we can run your PADCogDesIMG Desktop Flow in Microsoft Power Automate, and the output of the PADCogDesIMG is,

Describe image Action in Desktop flow

Summary

Now you have successfully tested Describe image Action in Desktop flow - PADCogDesIMG in Microsoft Power Automate.