User Activity

  • Posted a comment on discussion Open Discussion on Tess4J

    Thanks Quan. So I simplified my test case massively. I eliminated tess4j and jna completely, and just use java core and try System.LoadLibrary and System.Load. Additionally, I put a versioned and unversioned copy of shared objects in the LD_LIBRARY_PATH (e.g. libtesseract.so.4 and libtesseract.so). On an amazon ec2 instance, I can System.LoadLibrary("tesseract") or System.Load("/complete/path/to/libtesseract.so.4) and it all works wonderfully. However, on amazon lambda, I can see libtesseract load,...

  • Posted a comment on discussion Open Discussion on Tess4J

    Thanks Quan. I believe everything is compatible since I have a standalone java program that uses tess4j successfully. There is something in the lambda environment that is not behaving the same as a "regular" linux host. But I'll try your suggestion to just write a simple test program to exercise lept4j and see what happens. I also posted to the jna google group to see if there is any way to unwrap any underlying link errors, rather than just seeing the topmost error. Thanks again for your help. And...

  • Posted a comment on discussion Open Discussion on Tess4J

    Quan, thank you so much for the reply. Sorry I missed your reply on GitHub (I need to setup notifications.) So I created the links you suggested (libtesseract.so --> libtesseract.so.4 and liblept.so --> liblipt.so.5), and unfortunately, I'm running into the same issue. Is there anything else you can think of? Is there there anyone else who has this working on AWS Lambda (serverless)? Thank you... LOG EXCERPTS env vars and java property set getenv LD_LIBRARY_PATH: /opt/lib getenv TESSDATA_PREFIX:...

  • Posted a comment on discussion Open Discussion on Tess4J

    I'm hoping to get some help or suggestions in resolving an UnsatisfiedLinkError condition. I searched through the discussion boards for UnsatisfiedLinkError and see most of the issues are related to Windows. I'm on linux, specifically an AWS lambda instance running amazon linux, and cannot get tess4j to execute successfully. I have a ticket open with Amazon, but they are not tess4j and jna experts. On an ec2 instance running amazon linux, I am able to build tesseract and leptonica with no problems....

View All

Personal Data

Username:
quindgh
Joined:
2019-02-20 15:29:42

Projects

  • No projects to display.

Personal Tools