How to reduce size of tessdata used for TessBaseAPI in android?

不打扰是莪最后的温柔 提交于 2020-01-03 02:48:32

问题


I have an android application where I am using Tesseract OCR i.e the TessBaseAPI. This requires tessdata which is 21mb file. My final app release APK comes to approx 19 mb which I find quite a lot. Is there any way by which I can reduce the size of tessdata or my app or anything else which will help me reduce the final APK size?


回答1:


You can use the 3.01 version of .trainddata files -- they have much smaller size -- which are still compatible with newer versions of Tesseract.



来源:https://stackoverflow.com/questions/34542512/how-to-reduce-size-of-tessdata-used-for-tessbaseapi-in-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!