Sikulix/java error: Could not initialize class net.sourceforge.tess4j.Tesseract1

55 views Asked by At

I am running sikulix on debian 12: sudo java -jar sikulixide-2.0.5-lux.jar with sudo privileges, otherwise there are mouse errors. Sikulix runs great so far except when calling Region.text().

For example: print(Region(300,500,100,50).text())

gives the Error: [error] java.lang.NoClassDefFoundError ( java.lang.NoClassDefFoundError: Could not initialize class net.sourceforge.tess4j.Tesseract1 )

how can I install this class?

Region(x,y,w,h) xy center coordinates, width, height

text() calls OCR text recognition on a region on the screen.

0

There are 0 answers