Skip to content
This repository has been archived by the owner on Mar 17, 2022. It is now read-only.

Could not initialize Tesseract API with language=ces! #258

Closed
davidbulant opened this issue Feb 9, 2019 · 2 comments
Closed

Could not initialize Tesseract API with language=ces! #258

davidbulant opened this issue Feb 9, 2019 · 2 comments

Comments

@davidbulant
Copy link

Summary:

TessBaseAPI tessBaseApi = new TessBaseAPI();
tessBaseApi.init("/storage/emulated/0/MyTesseractData/tessdata", "ces");

after init is called => E/Tesseract(native): Could not initialize Tesseract API with language=ces!

Tried eng.traineddata, slk.traineddata (3.0.4 version) for sanity check. They were initialized without problem.

Tess-two version:
9.0.0, 8.0.0, 7.0.0, 6.3.0, 6.2.0, latest version build from source
Did not try older versions.

Android version:
6.0.1

Phone/device model:
Moto G (3rd generation)

Phone/device architecture (armeabi, armeabi-v7a, x86, mips, arm64-v8a, x86_64, mips64):

Link to training data used:
https://github.com/tesseract-ocr/tessdata/blob/3.04.00/ces.traineddata

@rmtheis
Copy link
Owner

rmtheis commented Feb 9, 2019

Try tessBaseApi.init("/storage/emulated/0/MyTesseractData/", "ces");

Also, if eng and slk worked, but ces didn't, that's an indication that the problem may be with the training data.

@rmtheis
Copy link
Owner

rmtheis commented Feb 9, 2019

Thanks for the report. Closing this issue because it doesn't look like a problem with this project.

@rmtheis rmtheis closed this as completed Feb 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants