I'm trying to add tess4j to my java project in netbeans.
I tried the 2 following guides: 
http://tess4j.sourceforge.net/tutorial/
http://tphangout.com/how-to-use-the-tesseract-api-to-perform-ocr-in-your-java-code/

I'm getting an error: 

Exception in thread "main" java.lang.UnsatisfiedLinkError: The specified 
module could not be found.

at com.sun.jna.Native.open(Native Method)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:263)
at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:403)
at com.sun.jna.Library$Handler.<init>(Library.java:147)
at com.sun.jna.Native.loadLibrary(Native.java:502)
at com.sun.jna.Native.loadLibrary(Native.java:481)
at net.sourceforge.tess4j.TessAPI.<clinit>(TessAPI.java:45)
at net.sourceforge.tess4j.Tesseract.init(Tesseract.java:283)
at net.sourceforge.tess4j.Tesseract.doOCR(Tesseract.java:219)
at net.sourceforge.tess4j.Tesseract.doOCR(Tesseract.java:168)
at net.sourceforge.tess4j.Tesseract.doOCR(Tesseract.java:152)
at testocr.TestOcr.main(TestOcr.java:45)
Java Result: 1

I tried looking for a solution but without any success. 

Does anyone have an idea?
By the way, if you have any other idea for OCR beside tess4j that 
compatible to java in windows, I'm open to suggestions (as long as there is 
a guide for that),

Thank you! 

-- 
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 https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/85dbb61c-4f4c-4dbc-bf23-d167a65b5dc4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to