sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #59332
Re: [Question #709354]: [2.0.5] Linux: Tesseract Tess4J Dont Work
Question #709354 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/709354
Oleg gave more information on the question:
If programm started with option -v and i run one line "print(s.text())"
then write:
[debug] SikuliIDEPopUpMenu: PopMenuAction.doRunLine
[debug] SikuliIDEPopUpMenu: doRunLine: 3
[debug] Jython: use as default region: R[0,0 1024x768]@S(0)
[debug] Image: BufferedImage: (1024, 768)
[debug] OCR: start: Tess4J 4.5.4 using Tesseract 4.1.x
[error] JythonRunner: runPython: (
print(s.text())
) raised: Traceback (most recent call last):
File "<string>", line 1, in <module>
at org.sikuli.script.TextRecognizer.getTesseractAPI(TextRecognizer.java:103)
at org.sikuli.script.TextRecognizer.doRead(TextRecognizer.java:376)
at org.sikuli.script.TextRecognizer.readText(TextRecognizer.java:335)
at org.sikuli.script.OCR.readText(OCR.java:710)
at org.sikuli.script.OCR.readText(OCR.java:695)
at org.sikuli.script.Element.text(Element.java:150)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
java.lang.NoClassDefFoundError: java.lang.NoClassDefFoundError: Could not initialize class net.sourceforge.tess4j.Tesseract1
Why "using Tesseract 4.1.x."? Perhaps the problem in version of
tesseract? Write [debug] OCR: start: Tess4J 4.5.4 using Tesseract 4.1.x.
, but I have tesseract 4.0.0
--
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.