I am using the Tess-Two tesseract library. In most example code, the external tessdata is loaded by accessing the SD card, something like: Environment.getExternalStorageDirectory().toString() + "/TesseractSample/";
. Is it possible to access this translation file from inside the resources folder instead?
No, not directly. You can package the training data in your app and copy it from the app's assets
or raw
folders onto the device external storage.