4 ms·
I've used tesseract to great affect. I don't know how your images are but if only part of the image has text in it, you should only send that part to the OCR en
by Omnipresent 11y ago
I've used tesseract to great affect. I don't know how your images are but if only part of the image has text in it, you should only send that part to the OCR engine. If you send the entire image and only a portion of it has text in it, chances of the OCR extracting text are slim. There are pre-processing techniques [1] you can use to crop out the part of the image that has text
[1]: https://en.wikipedia.org/?title=Hough_transform https://en.wikipedia.org/?title=Hough_transform
- deleted 11y ago[deleted]
- leeoniya 11y agoand an implementation with source & binaries [1]. also check out unpaper [2] [1] http://galfar.vevb.net/wp/2011/deskewing-scanned-documents/ http://galfar.vevb.net/wp/2011/deskewing-scanned-documents/ [2] https://github.com/Flameeyes/unpaper https://github.com/Flameeyes/unpaper
- roel_v 11y agoCould you explain how to use a Hough transform to find areas that have text? I only recently managed to wrap my head around how it works for line detection and other shapes with the generalized form, but how would one recognize text?