3 ms·
For all those claiming issues with reading text from a screen shot of this page, note that this is more an issue with the original Tesseract library, not this l
by jameslk 10y ago
For all those claiming issues with reading text from a screen shot of this page, note that this is more an issue with the original Tesseract library, not this library (which appears to wrap Tesseract compiled through Emscripten). I remember having a similar issue when I used the original Tesseract. The quick hack I found to fix it was to rescale any small text input images 3x first before feeding it to Tesseract. I'm sure there's more intelligent solutions to mitigate that problem.
- dunham 10y agoYeah, in the past, I've had to scale my own scans/photos to get good results. The tesseract github site mentions this: "Tesseract works best on images which have a DPI of at least 300 dpi, so it may be beneficial to resize images." - https://github.com/tesseract-ocr/tesseract/wiki/ImproveQuality https://github.com/tesseract-ocr/tesseract/wiki/ImproveQuali...