Hi!
Today I put on hole my posts on Project Malmo and Minecraft, because thanks to some new connectors in Microsoft Flow, I was able to create an image analysis Mobile App in a matter of minutes.
When we create a Flow triggered using a button, we have a new data type [File] for input data. If we use a File as the start of a Flow, and a Computer Vision activity, we can create a simple 3-step process for analyzing photos.
As I commented earlier, in the Button we created an input field of the type File.
Then we used the File Content of the previous step in a Computer Vision action to get the image description.
And finally we show the description returned by the Cognitive Services action in a notification to the mobile device.
If we launch our Flow, we will see that at the time of selecting a file we can take a photo using our smart phone or select one from the photo gallery
For this sample, I’ll use a simple one: a couple of toys in my desk
The process begins to work, uploading the photo to a temporary location so the Computer Vision process can analyze it
And a few seconds later we have the result that in this case, is 100% correct!
Happy Coding!
Saludos @ Burlington
El Bruno
References
- Cognitive Services, Computer Vision
My posts on Flow
- Using configuration information from an App using OneDrive, Excel, Microsoft Flow and HTTP Requests
- Check your Apps health in Azure using Application Insights and Microsoft Flow
- How to invoke a Flow from an external App using HTTP Request
- How to review a Flow process
- Push Notification Support
- Calling a Flow from a C# ConsoleApp
- Support for Team coauthoring and sharing
- Email Sentiment Analysis on a PowerBI dashboard, and Flow
- Schedule a Flow execution, recurrence supported!
- How To iterate through collections of elements (Excel, Sharepoint, Cognitive Services and more…)
- “Save as ” and interaction with physical buttons FLIC and BTTN
- New action definition to use Computer Vision APIs from Microsoft Cognitive Services
- Buttons Widgets in iOS and Android
- Handle exceptions, errors, timeouts and more in a Microsoft Flow definition
- Working with Variables in Microsoft Flow
- Advanced options to work with an HTTP Action in Microsoft Flow, Headers, Authentication and more
- How To emulate a Button for a Flow using a Browser
- Export and Import Flow definitions with advanced options
- Working with Expressions
- New input options when using Flow Button: list of choices
- Trigger a Flow associated to an item in a #SharePoint list
2 comments