4 ms·
The workhorse behind this script is pdfsandwich http://www.tobias-elze.de/pdfsandwich/ http://www.tobias-elze.de/pdfsandwich/ which itself uses the OCR engine
by quanto 5y ago
The workhorse behind this script is pdfsandwich
http://www.tobias-elze.de/pdfsandwich/ http://www.tobias-elze.de/pdfsandwich/
which itself uses the OCR engine Tesseract. Unfortunately, Tesseract is not quite accurate even for nicely aligned, printed computer texts. When I was working on an OCR problem within my firm, I was surprised to find that it was not a solved problem, and there are still public and for-profit efforts to improve the state of the art.
- smegger001 5y agoI would imagine it could be a "Hard Problem". I mean look at all of the problem anyone has ever had with Unicode now imagine trying to reverse engineer it form images of characters in random font without the bit-stream of the charecter, the benefit of textual context (ie it that a Latin script letter O an zero or O shaped letter from another character set used in a quote name or excerpt from another language), or metadata in file header. I think this will probably be one of those thing that will get better asymptotically until we have sufficiently advanced general intelligence, as alot of it will be context dependent.
- Too 5y agoCould an ocr reader do a first pass on the easy characters to guess the font, eliminating the problem of random font for the second pass of parsing more difficult characters.