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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Extract text with Wind...
Power Automate
Unanswered

Extract text with Windows OCR Engine Issue

(0) ShareShare
ReportReport
Posted on by 9

Hi,

 

 This seemed to work fine and now intermittently works. The flow hangs up at "Extract text with OCR" when using the Windows OCR engine. The Tesseract engine will work consistently but the results are not very accurate. When the Windows Engine works the results are spot on. Any idea on how to troubleshoot this issue?

 

Thank you,

Michael2022-02-26_10-19-31.jpg 

I have the same question (0)
  • VJR Profile Picture
    7,635 on at

    Hi Michael,

     

    I just tried the Windows OCR engine on one of the sample image files with text.

    It did not have any problems.

     

    This will obviously not mean that the action works fine :).

    So it is hard to say why it gets stuck on this action for your particular file.

    I'm sure your file would be a sensitive one and you won't be able to share it. But if you are then I can give it a try.

    Also check for any errors log messages. Perhaps raising a ticket with support could be of any help.

     

     

  • mbuttman Profile Picture
    9 on at

    Hi,

     

     I found a work around that seems to work reliably. I inserted a "Display Message" step with a 1 sec timeout and now the OCR step works fine. I tried just wait step of 1 sec and it would still hang at OCR step. I'll upload my image so you can give it a try.

     

    Thanks,

    MichaelPhoto1.jpg

  • VJR Profile Picture
    7,635 on at

    Did not face any issues without adding a timeout or wait stage.

    Adding a wait is always a good practice.

    Good to hear that it is working out for you now.

     

    VJR_0-1646019747490.png

     

  • mbuttman Profile Picture
    9 on at

    Thank you. When I run my flow I have to have a dialog step before the OCR step. I have tried wait steps of various times and the Windows OCR step hangs. It looks like this is specific to my case.

  • UK_Mike Profile Picture
    on at

    Temp disable the dialog step, priority is getting the Ocr text.

    Are you getting the ocr output like VJR explained ?

     

  • mbuttman Profile Picture
    9 on at

    No it hangs at Windows OCR step.

  • UK_Mike Profile Picture
    on at

    Start the flow from extracting the text, not at the start of the flow...

  • UK_Mike Profile Picture
    on at

    Same as...

     

     

    Screenshot 2022-03-04 133222.png

  • mbuttman Profile Picture
    9 on at

    Flow.jpgI am unable to start flow from Extract Text step. I think its is because I have that step in a For Loop. I will have to create a new flow and replicate my issue.

  • UK_Mike Profile Picture
    on at

    You could just do a quick subflow.

    Read a single file, no loops / getting files in folder etc, just a single file.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard