Skip to content Skip to sidebar Skip to footer

Android Tesseract Error. Data File Not Found At

I'm studying android using NDK with opencv. I success using ndk. So I get usable data ( I mean the data was done by canny.) When I use Tesseract, Data file not found at /storage/

Solution 1:

You are getting an error which states that traineddata file cannot be found in

/storage/emulated/0/tesseract/tessdata/eng.traineddata

which is a path to tessdata folder on your device, while

adroid/app/src/main/assets/tessdata/eng.traineddata

is a path to traineddata file on your PC (which is shipped with your apk but isn't extracted unless you do it).

You need to extract file from assets to the device's storage. See How to copy files from 'assets' folder to sdcard?

Post a Comment for "Android Tesseract Error. Data File Not Found At"