开发者

Tesseract Android tools Crash Error

I'm having a crash error on init method in TessBaseAPI class, please help me on this one, below is the log file:

D/dalvikvm(26619): Trying 开发者_开发知识库to load lib /data/data/com.appname.../lib/liblept.so 0x40513f58
D/dalvikvm(26619): Added shared lib /data/data/com.appname.../lib/liblept.so 0x40513f58
D/dalvikvm(26619): Trying to load lib /data/data/com.appname...t/lib/libtess.so 0x40513f58
D/dalvikvm(26619): Added shared lib /data/data/com.appname.../lib/libtess.so 0x40513f58
V/Tesseract(native)(26619): Java_com_googlecode_tesseract_android_TessBaseAPI_nativeClassInit
V/Tesseract(native)(26619): Java_com_googlecode_tesseract_android_TessBaseAPI_nativeConstruct
V/Tesseract(native)(26619): Java_com_googlecode_tesseract_android_TessBaseAPI_nativeInit
I/Tesseract(native)(26619): Attempting Init() with dir=/mnt/sdcard/tessdata/, lang=eng
I/ActivityManager(  107): Process com.appname....tesseract (pid 26619) has died.


You must be using the wrong version of language data file.

See my comment here -

http://code.google.com/p/tesseract-android-tools/issues/detail?id=3

There are also two versions of eng.traineddata file attached to the bug report. You need the smaller of the two for Tesseract Android Tools. Bigger one is for the recent version of Tesseract

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜