R
R
Rich2021-08-05 18:04:32
Python
Rich, 2021-08-05 18:04:32

Why error in Tesseract text recognition?

Hello everyone, what is the error in text recognition? No matter how hard I try to apply various filters, converting to RGB, HSV, the text is not recognized correctly for me.

Actually, here is the finished image, and also threw off the second option. As for me, green is better :)
610bfb77d8d5f213583595.png
610bfc1a29538129486151.png

And here is the result when the text has already been read and displayed in the text in the console:
610bfca2c1296877423416.png
As you can already see, there are a couple of unnecessary letters .... Everything is quite simple in the code. I take a screenshot in the right place on the screen, after which I convert the image to HSV, namely, I make the text green and the background black. How to solve it? I also saw on some forum that if the final version of the picture is converted to RGB, then there are more chances for the picture to be recognized, but it didn’t help me personally :C
config = r'--oem 3 --psm 13'


Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question