Closed nikoct86 closed 10 years ago
The project doesn't include the OSD data in the assets folder, but you can add it to your assets folder as a zip and use installZipFromAssets() to install it.
Feel free to send a pull request to make this code change if you want to.
At row 253 and 256 of OcrInitAsyncTask.java, CaptureActivity.OSD_FILENAME_BASE should be changed to CaptureActivity.OSD_FILENAME. In the previous way untarring of OSD data file launches an exception becouse you cannot untar a file named "osd.traineddata.zip", you can for a file called "osd.traineddata.tar.zip" instead. Bye!