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 here.
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 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 here.
The Microsoft cognitive computer vision - Image Analysis action extracts a rich set of visual features based on the image content. For example, you can generate a caption from an image, generate tags, or identify celebrities and landmarks.
Reading this article, you can learn how to analysing an image with Microsoft cognitive computer vision - Analyze image Action in Desktop flow using Microsoft Power Automate.
The following important tools are required for developing Microsoft Power Automate,
- Windows 10/11 (Recommended)
- Power Automate Desktop - Download the Power Automate installer
- 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
Next, Give the Flow name as PADCogAnaImg, Click the Create button,
After that, we are able to see the Desktop flow,
Step 2
For Testing Microsoft cognitive computer vision - Analyze image action,
First, Get the Azure cognitive service Subscription details - Refer the link for creating a Coginitive service in Microsoft Azure.
The Sample Image, Image file is,
Next, Add the Analyze 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\download.jpg, Visual features Parameter as adult, brands, categories, description, faces, objects, tags and Click Save Button
For Displaying Result, Add the Display message action and Set the Message box Title Parameter as Display Analyze Image Result, Message to display Parameter as %JSONResponse% Click Save Button
Now, Save the PADCogAnaImg Desktop Flow,
Step 3
Now we can run your PADCogAnaImg Desktop Flow in Microsoft Power Automate,and the output of the PADCogAnaImg is,
Summary
Now you are successfully tested Analyze image Action in Desktop flow - PADCogAnaImg in Microsoft Power Automate.