image processing to improve tesseract OCR accuracy

213 views
Skip to first unread message

Deepak Kumar

unread,
Oct 29, 2014, 4:34:26 AM10/29/14
to tesser...@googlegroups.com
I've been using tesseract to convert screenshot image into text. the image is attached here , and I'm looking for tips on what sort of image processing/image enhancement might improve the results and helpful for number recognition from image. I've noticed that text in the image looks find and perfect to read through eye but when i pass it to tesseract it is unable to find text from image.
Good.png

Rick Leir

unread,
Oct 30, 2014, 10:51:59 AM10/30/14
to tesser...@googlegroups.com
The simpler method: convert to greyscale then binarize with the appropriate threshold.

However if the colors convert to similar grey values then you need to choose a hue (color) and brighten it, then choose the contrasting hue and darken it,

Quan Nguyen

unread,
Oct 30, 2014, 7:09:54 PM10/30/14
to tesser...@googlegroups.com
The number was recognized after grayscale, binarize, and invert color steps.
Reply all
Reply to author
Forward
0 new messages