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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Extract Text OCR non b...
Power Automate
Unanswered

Extract Text OCR non black text

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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 

I have the same question (0)
  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    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 Profile Picture
    154 on at

    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 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    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.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    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.

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

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

    good luck. 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 229 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 227

#3
Haque Profile Picture

Haque 181

Last 30 days Overall leaderboard