cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mbuttman
New Member

Extract text with Windows OCR Engine Issue

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 

11 REPLIES 11
VJR
Super User
Super User

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
New Member

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
Super User
Super User

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

 

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.

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

Are you getting the ocr output like VJR explained ?

 

No it hangs at Windows OCR step.

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

Same as...

 

 

Screenshot 2022-03-04 133222.png

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.

You could just do a quick subflow.

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

Matt_Austin
New Member

If you have a message window popup enabled and you are extracting text from the foreground window in your OCR selection, OCR will then attempt to read the popup as it is now in the foreground.

Does disabling the message popup help?

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022- Season 2 has kicked off!

Top Solution Authors
Top Kudoed Authors
Users online (2,229)