You may try to
1. Make sure libpng.so is included in your apk file
2. Add the code
like
https://github.com/rmtheis/tess-two/commit/ab1b1c81f4aea21c300736a7df186673a1bcd480
mahmoud magdy於 2015年8月4日星期二 UTC+8下午9時37分38秒寫道:
>
> That error is caused once new TessBaseAPI(); is called. Can anyone help
> with that
>
> dlopen("/data/app-lib/com.datumdroid.android.ocr.simple-2/liblept.so")
> failed: Cannot load library: soinfo_link_image(linker.cpp:1635): could not
> load library "libpng.so" needed by "liblept.so"; caused by
> load_library(linker.cpp:745): library "libpng.so" not found
>
--
You received this message because you are subscribed to the Google Groups
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tesseract-ocr/0513eaa1-3da5-4e76-819e-459f0b0fd56c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.