Search code examples
androidtess-two

OCR implementation error-java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "png_set_longjmp_fn" referenced by "liblept.so"


I am using tesseract library in my code for OCR implementation.But find the above error(mentioned in title).Tried with new tess-two library in the link:https://github.com/rmtheis/tess-two. But still same issue.Isue found only in samsung s3 and s4 mini devices..Please help me.I am searching for the issue past few days.

I am using Android studio for the project.

Any help welcomed.Thanks in advance.


Solution

  • After updating the tess-two code, you need to re-build the project by following the build instructions.

    In particular, you need to be sure to re-run the ndk-build step.