-
Notifications
You must be signed in to change notification settings - Fork 9.9k
4.0x Common Errors and Resolutions
See Ray Smith's notes in TrainingTesseract 4.00, specifically the section on errors.
Normal C++ programs like those which are built for tesseract automatically set the locale "C".
There can be different locale settings if the tesseract library is used in other software.
A wrong locale can cause wrong results from sscanf which is used at different places in the tesseract code, so make sure that we have the right locale settings and fail if that is not the case.
You have to find out whether "C" works with your code or you must restore the original locale after calling the Tesseract API.
Old wiki - no longer maintained. The pages were moved, see the new documentation.
These wiki pages are no longer maintained.
All pages were moved to tesseract-ocr/tessdoc.
The latest documentation is available at https://tesseract-ocr.github.io/.