Answer the question
In order to leave comments, you need to log in
How to implement text reading over lines in OpenCV?
Hello, I have a document with lines over which there is text. I think you need to find a line according to the height of the text, make a rectangle and send it to the tesseract, but I don’t know how to do it correctly.
Or maybe there are other simpler implementations?
Answer the question
In order to leave comments, you need to log in
By document, do you mean Word, PDF, another format, or a regular image? Or do these documents contain images with text?
If your task is to recognize text in certain places (i.e. you do not need raw text recognized by the tesseract, but the location of this text is important), you can follow the following algorithm:
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question