web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Custom AI Model vs put...
Power Automate
Answered

Custom AI Model vs putting OCR conditions

(0) ShareShare
ReportReport
Posted on by 60

I have a flow, in which a user submits a screenshot via Microsoft Flows. These screenshots contain statistics. The issues is that the screenshots can vary significantly in not only position of relevant stats but also the amount of stats. Examples of the screenshots are as follows: (i) Samsung 1

 Samsung 1Samsung 1

 

(ii) Samsung 2:

Samsung 2Samsung 2

 

(iii) iPhone:

Dev7 - Service mode.jpg.png

 

You can see these screenshots have different content and positions. These are just some of the images (other devices like LG, etc). Currently, I'm doing OCR and storing it into an array and then looping through the array to find relevant information. It's just a bit difficult since the OCR array for every image can vary dramatically and garnering relevant information is a bit difficult.  

 

Since I don't have a lot of experience in AI Builder, is this task more suited for the AI Builder or should I stick with my current process of OCR and extract information. 

 

Thanks for the help. 

Categories:
I have the same question (0)
  • jinivthakkar Profile Picture
    4,187 on at

    @tareenmj I have worked with AI in the past, I can say for sure using OCR is going to be super painful. I had a similar use case where the information was random every time and I used Azure Custom Form Recognizer which is super powerful 1.5 yrs back then AI Builder was not that good but now it has also improved a lot.

    Now even Azure Custom Form recognizer has become more powerful. We used Azure because it was much cheaper and more powerful.

     

    You need to do analysis for your use case and then take a decision, I am still inclined towards Azure due to its ease of use and integration

     

    Also there is a dedicated forum for AI, you will get precise information as the AI team itself responds there

    https://powerusers.microsoft.com/t5/AI-Builder/bd-p/AIBuilder

     

    --------------------------------------------------------------------------------

    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

  • Verified answer
    JoeF-MSFT Profile Picture
    Microsoft Employee on at

    Hi @tareenmj - it's great to see you pushing forward to automate this process. 🙂 And thanks @jinivthakkar for sharing your experience! 

     

    The good thing is that AI Builder Form Processing is built on top of Azure Form Recognizer. Same great AI technology in both cases. AI Builder gives you in addition an intuitive user experience and seamless integration with Power Automate and the rest of the Power Platform. 

     

    We can try the following for this use case:

    1. Create a new AI Builder Form Processing model: Create a form processing custom model - AI Builder | Microsoft Docs
    2. Define the difference fields you want to extract from the screenshots.
    3. Upload at least 5 sample screenshot of each type, group them by collection. (1 collection for Samsung, 1 collection for iPhone...) https://docs.microsoft.com/en-us/ai-builder/create-form-processing-model#group-documents-by-collections
    4. Tag and train the document.

     

    Once the model has been trained, you can test the model with new screenshots and see if it's able to extract the data. If you try this, I'd be super interested in hearing back how it works.

  • tareenmj Profile Picture
    60 on at

    Thank you to you both @jinivthakkar  and @JoeF-MSFT for your help. It is greatly appreciated! This is so helpful and I will try training an AI builder with 3 different collections and checking if the AI model correctly detects information. The problem that I faced when using AI builder in the past was that it seemed to extract information from the screenshot even if it wasn't there. An example was if the model was trained for detecting 'variable A' and I uploaded a screenshot which didn't have any mention of 'variable A', it would grab anything from the screenshot, whereas it should have been blank. 

     

    I was thinking if there is an AI builder in Power Automate which can detect values from text. Meaning if I complete OCR on the image, store it in a string and then perform AI on that string? Do you believe this would be a better approach to avoid any edge or unfamiliar cases? 

  • Verified answer
    JoeF-MSFT Profile Picture
    Microsoft Employee on at

    Hi @tareenmj! For randomly extracted data, you can check the confidence score of the value. If the confidence score is low, you can discard the result. 

     

    On detecting values from text, one possible approach could be to use Entity Extraction: Entity extraction custom AI model overview - AI Builder | Microsoft Docs

  • tareenmj Profile Picture
    60 on at

    Very helpful. In your opinion, should I stick with image extraction with three different categories or should I go with entity extraction? The only issue I have with entity extraction is the text data can look significantly different after I do OCR (i.e. different screenshots from different devices will look differently).

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 239 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 177 Super User 2026 Season 1

#3
Kalathiya Profile Picture

Kalathiya 97 Super User 2026 Season 1

Last 30 days Overall leaderboard