What version of tess4j? Do you have VC++ 2013 installed? On Sunday, April 3, 2016 at 10:23:18 AM UTC-5, Meir Julian wrote: > > 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/69e2298a-7cad-4338-ab9a-962e165b19d6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

