cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Etignor1
Helper II
Helper II

Extract Text OCR non black text

I'm having issues extracting text from screen.  I've used parameters to make the area as small as possible so that only the text I need is inside.  I've used both engines and I've played with the height and width.  The only thing I can think of is that the text is white on a blue background.  Anyone else had this issue?  @MichaelAnnis 

5 REPLIES 5
MichaelAnnis
Super User
Super User

Does it not have an html element?  If it does, then you want Get Element Attribute: Own Text.

 

If that doesn’t work, I haven’t dealt with web OCR too much, but here is some trial and error:

 

try extracting all text and parsing out what you need (it think this will be the easiest, if it’s structured).

 

you could send keys control A and then open notepad, send keys control v. Then extract text via OCR, now it will be be black, and hopefully that will work.

 

If you know the exact position of that text, you could also command mouse to select it (click on the left and drag right) like you would and send keys control c or right click copy. Then get clipboard text, then set variable to %ClipboardText%.

 

best of luck!

PAG
Resolver I
Resolver I

Hello @Etignor1,

Have you tried to use Google Vision AI? I've had similar problems and I have had better luck using Google OCR engine.

How to enable Google OCR: https://power.automate.gallery/find-text-from-images-using-google-vision-ai-and-ocr 

Great ideas.  My issue is that I'm using Bluestacks to emulate an Android app so a lot of the usual go to's don't work.

Etignor1
Helper II
Helper II

Thanks, I don't think it would work for this specific issue as I'm not on a website but using an Android app emulator.

I believe androids have a feature to invert colors. Maybe if you turn that on, you can grab it. 

good luck. 

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.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

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.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Top Solution Authors
Top Kudoed Authors
Users online (3,296)