Shreeshrii / tessdata_shreetest

finetuned traineddata files for tesseract 4.0.0 for testing
156 stars 32 forks source link

digits1.traineddata not working in iOS tesseract ocr #16

Open HarshMathur opened 4 years ago

HarshMathur commented 4 years ago

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

actual_tessdata_numentries <= 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 commented 4 years ago

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