Reputation:
How can I use OpenCV to detect all the text in an image, I want to to be able to detect "blocks" of texts individually. Then pass the the recognized blocks into tesseract. Here is an example, if I were to scan this I would want to scan the paragraphs separately, not go from left to right which is what tesseract does.
Upvotes: 3
Views: 2044
Reputation: 1407
That would be my first test:
If some paragraphs merge, you should erode less or dilate a little bit after the erode.
Upvotes: 2