You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tesseract cannot find the tessdata file for the second language.
/opt/tesseract5/bin/tesseract /tmp/2021-11-10_12-50-02.png /tmp/1 --oem 1 -l 'rus+eng'
Error opening data file eng.traineddata
Please make sure the TESSDATA_PREFIX environment variable is set to your "tessdata" directory.
Failed loading language 'eng'
Estimating resolution as 145
Expected Behavior:
Tesseract looks for data for the second language in the same directory as for the first.
Suggested Fix:
It looks like it was broken in this commit d6de055
The text was updated successfully, but these errors were encountered:
Modernize also a for loop statement.
Fixes: d6de055 ("Set default language for tesseract only if required")
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Environment
Current Behavior:
Tesseract cannot find the tessdata file for the second language.
Expected Behavior:
Tesseract looks for data for the second language in the same directory as for the first.
Suggested Fix:
It looks like it was broken in this commit d6de055
The text was updated successfully, but these errors were encountered: