Thank you for all!! it's working!!
בתאריך יום רביעי, 6 באפריל 2016 בשעה 20:14:37 UTC+3, מאת Mostafa Sayed: > > Put the "tessdata" folder in the project directory that contains " > .traineddata" files, also put the images that u want to scan them in the > project directory too. > > On Sunday, April 3, 2016 at 5:23:18 PM UTC+2, 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/2138d6ee-2e16-4a14-ba42-44e3b716d96c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

