Rgfvfk Iff
Rgfvfk Iff

Reputation: 1609

Android Tess-Two library load data

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?

Upvotes: 1

Views: 495

Answers (1)

rmtheis
rmtheis

Reputation: 5826

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.

Upvotes: 2

Related Questions