The error message is clear. Or? Zdenko
pi 4. 5. 2018 o 20:38 Dattatraya Tembare <[email protected]> napĂsal(a): > Exception in thread "main" java.lang.Error: Invalid memory access > at com.sun.jna.Native.invokePointer(Native Method) > at com.sun.jna.Function.invokePointer(Function.java:490) > at com.sun.jna.Function.invoke(Function.java:434) > at com.sun.jna.Function.invoke(Function.java:354) > at com.sun.jna.Library$Handler.invoke(Library.java:244) > at com.sun.proxy.$Proxy0.TessBaseAPIGetUTF8Text(Unknown Source) > at net.sourceforge.tess4j.Tesseract.getOCRText(Tesseract.java:433) > at net.sourceforge.tess4j.Tesseract.doOCR(Tesseract.java:288) > at net.sourceforge.tess4j.Tesseract.doOCR(Tesseract.java:209) > at net.sourceforge.tess4j.Tesseract.doOCR(Tesseract.java:193) > at com.ea.ocr.tesseract.ReadImageText.readText(ReadImageText.java:59) > at com.ea.ocr.tesseract.ReadImageText.main(ReadImageText.java:32) > Error opening data file ./eng.traineddata > Please make sure the TESSDATA_PREFIX environment variable is set to your > "tessdata" directory. > Failed loading language 'eng' > Tesseract couldn't load any languages! > > -- > 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/85a15318-3f8b-43cb-9e9e-74be69a29825%40googlegroups.com > <https://groups.google.com/d/msgid/tesseract-ocr/85a15318-3f8b-43cb-9e9e-74be69a29825%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAJbzG8zD7oCArXc4%2BMkzvtfHSdxsezRWCCbufkw3zrrg_7TuVQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

