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

Community site session details

Session Id : DpnsjjV0biI7FzAEUI18DQ
Power Automate - Power Automate Desktop
Answered

Extract Text with OCR

Like (0) ShareShare
ReportReport
Posted on 28 Jul 2021 07:34:21 by

Hi all,

 

I would like to extract text from a website login page after entering the password.

This text is dynamic when the website is loaded each time.

 

Is there a way to identify the specific subregion of text that the OCR needs to read?

 

Regards

Hidayat

 

 

I have the same question (0)
  • jagdeepsingh210 Profile Picture
    4 on 15 Jul 2024 at 14:12:02
    Re: Extract Text with OCR
    Spoiler (Highlight to read)
     
     
    One of my customer is looking for OCR for invoicing reading 
    Can you please help me if the option and feature is available with the Microsoft Power Automate. 
     
  • RRRprogram Profile Picture
    5 on 28 Dec 2022 at 05:39:59
    Re: Extract Text with OCR

    Excellennttt brother...Since I am non Computer science background.. I was struggling to find this answer... thanks for your help.

  • JAWL Profile Picture
    393 on 10 Nov 2021 at 08:11:28
    Re: Extract Text with OCR

    Is it possible to use OCR action move mouse to text found based on the whole multipage pdf file (and not the active screen)?

  • Salman222711 Profile Picture
    4 on 09 Nov 2021 at 04:31:04
    Re: Extract Text with OCR

    Hello Jawl, you can use move mouse to image activity>Advanced>Search Mode>Search on Specified subregion of screen or foreground Window.Then you will be getting option to select the region.By double tapping and dragging the area X1,X2,Y1,Y2 Positions will be reflecting.These positions you can note down and use in other OCR actions.Please Check the below image.

     

    Thanks Regards

    Salman

    Screenshot (15).png

     

  • DanielOlsson Profile Picture
    111 on 08 Nov 2021 at 09:09:28
    Re: Extract Text with OCR

    Hello, you can use the move mouse action to determine the X and Y cords of your picture. Not as an active action but while you develop your flow.  Your picture might be blurred as its zooms in when it take the snapshot but the quality is as well determined by the resolution of your screen as well as how you connected to the device you run your flow on, is it local or do you make some kind of remote connection? 

  • JAWL Profile Picture
    393 on 05 Nov 2021 at 02:12:41
    Re: Extract Text with OCR

    Hi Hidayat,

    1. How you actually identify the X1, X2, Y1, Y2 coordinates? Can we capture the coordinates from the position of mouse?
    2. I use Capture Image in the OCR action but it's display is blurred. Or you upload clear image instead?

    JAWL_0-1636078327530.png

     

  • Community Power Platform Member Profile Picture
    on 29 Jul 2021 at 03:39:13
    Re: Extract Text with OCR

    Hi @DanielOlsson@geavgous , @MichaelAnnis ,

    Thank you for pointing me into the intended direction.

    I manage to get the solution by combining all of you guys feedback 😀

    And reading the documentation should instead be the first step. 😅

    Awesome work all!

    Overview of Workflow

    Capture.PNG

    Extract text with OCR step

    1) Search mode: Selected subregion relative to image

    2) Tolerance: Increased to 10

     

    Capture2.PNG

     

     

    Regards

    Hidayat

  • MichaelAnnis Profile Picture
    5,721 Moderator on 28 Jul 2021 at 16:22:30
    Re: Extract Text with OCR

    I like using the "Create Tesseract OCR engine" and using the multipliers before using "Extract text with OCR"

    Mess with the multipliers until you get the result you need.  The higher the multiplier, the slower the bot; however, it greatly increases the accuracy of the OCR.

     

    Best of luck.

  • Verified answer
    geavgous Profile Picture
    Microsoft Employee on 28 Jul 2021 at 10:36:00
    Re: Extract Text with OCR

    Hi Hidayat, 

     

    Thanks for exploring the potential of Power Automate Desktop! Instead of OCR, you could use the Web Automation action , called "Extract Data from Web". This action allows you to select specific web element and get anything you want from it. 

    You can learn more by checking the documentation page in Web automation - Power Automate | Microsoft Docs

     

    In addtion, you could use the Image based recording for using OCR. You can find more details in Recording in a desktop flow - Power Automate | Microsoft Docs

     

    Let me know how it goes!

     

    Thanks, 

    George

  • Community Power Platform Member Profile Picture
    on 28 Jul 2021 at 10:06:54
    Re: Extract Text with OCR

    Hi @DanielOlsson ,

     

    Thanks for the feedback.

    I tried this but received an error, Failed to extract text with OCR.

     

    For the image to select, I tried both with the text and without text.

     

    Image without text to capture

    Without Text.PNG

     

    Image with text to capture

    With Text.PNG

     

    Regards

    Hidayat

     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Tom Macfarlan – Community Spotlight

We are honored to recognize Tom Macfarlan as our Community Spotlight for October…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 707 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 499 Moderator

#3
chiaraalina Profile Picture

chiaraalina 312

Last 30 days Overall leaderboard
Loading complete