Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

digits1.traineddata not working in iOS tesseract ocr #16

Open
HarshMathur opened this issue Jun 8, 2020 · 1 comment
Open

digits1.traineddata not working in iOS tesseract ocr #16

HarshMathur opened this issue Jun 8, 2020 · 1 comment

Comments

@HarshMathur
Copy link

In iOS, while using digits1.traineddata following error occurs:

actual_tessdata_num_entries_ <= TESSDATA_NUM_ENTRIES:Error:Assert failed:in file ../../ccutil/tessdatamanager.cpp, line 53

While searching on internet, it seems like an compatability issue of tesseract version and the version on which traineddata is prepared.

Can you please suggest something to fix it? Or is there any way to convert your traineddata for latest version of tesseract so it works on iOS.

In iOS it is even not working for tesseract 4.

Language using: Objective C

@Shreeshrii
Copy link
Owner

Try whitelisting only the digits with the official eng.traineddata. that should work now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants