Skip to content

4.0x Common Errors and Resolutions

Shreeshrii edited this page Jun 14, 2018 · 7 revisions

Errors during LSTM Training

See Ray Smith's notes in TrainingTesseract 4.00, specifically the section on errors.

Errors related to Tesseract API

Correct locale settings

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.

Errors related to Tesseract CLI

As of 02/02/2020


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/.


Clone this wiki locally