4 ms·
Thanks! Honestly? Initially very poorly. What I ended up doing was generating around a dozen versions of a screenshot in realtime (all with different combinati
by vunderba 8mo ago
Thanks! Honestly? Initially very poorly.
What I ended up doing was generating around a dozen versions of a screenshot in realtime (all with different combinations of thresholding, segmentation parameters, resolution scaling, and denoising) behind the scenes. Then it would fire Tesseract off on all of them in parallel threads and let them “vote” on the result.
After I set that up, the accuracy improved significantly.
If you're looking for an alternative rather than Tesseract - I'd actually recommend Surya. I've had a lot of success with it out of the box with doing OCR on comics.
https://github.com/datalab-to/surya https://github.com/datalab-to/surya
- hcmhcs0 8mo agoThat's a clever approach — running multiple preprocessing variants in parallel and letting them vote. Almost like an ensemble for OCR! Thanks for the Surya recommendation, I hadn't come across it before. Will definitely check it out!