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 / Can we see the raw inp...
Power Automate
Unanswered

Can we see the raw input of Tesseract OCR attempts?

(0) ShareShare
ReportReport
Posted on by 113

Hi all, I have a screen scraping flow that is pulling several numbers off a VNC window. I have been able to capture all of the data reliably except one item, whose value tends to be between 100-105.

 

The OCR likes to return 1 r-14" for "104". If it sees "100", the value will just be blank.

 

It was originally not reading at all because the text is red, but I am using ImageMagick to desaturate the screenshots I am taking, blow out the brightness and contrast and replace that specific color in the screenshot with black (#000000). I also find that it can't process decimal points, and when it sees 0, it likes to return blanks. The VNC image uses pixel fonts, and I also suspect that Tesseract works better with antialiased text.

 

I have played with these settings and all of the ones in PAD but still cannot get a reliable result with this one piece of data.

 

Is there any way at all to see exactly what the Tesseract engine is seeing when it tries to interpret my image so that I can tune it better? I have found I have to use image scaling >=5 to get it to read the rest, but as I said, these are pixel fonts, so I don't know if it's smart enough to realize it can't use an image scaling technique like bicubic, which would give a blurry result. I wonder if I fuzzed the screenshot in ImageMagick if it would work better...

 

Edit: Sorry for the edits. I also wonder if ImageMagick would be a better solution to resize the whole image rather than relying on Tesseract scaling, then redrawing the OCR detection boxes on the scaled screenshot... I will report back!

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

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 317 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 247

#3
Henil Profile Picture

Henil 117

Last 30 days Overall leaderboard