← Back to team overview

sikuli-driver team mailing list archive

[Question #689737]: OCR does not install on ubuntu 18.04

 

New question #689737 on Sikuli:
https://answers.launchpad.net/sikuli/+question/689737

When I try to use text() on a region in ubuntu 18.04 I get the following error...

[error] see: https://github.com/RaiMan/SikuliX1/wiki/macOS-Linux:-Support-libraries-for-Tess4J-Tesseract-4-OCR
[error] Save your work, correct the problem and restart the IDE!


tesseract - v gives me

tesseract 4.0.0-beta.1
 leptonica-1.75.3
  libgif 5.1.4 : libjpeg 8d (libjpeg-turbo 1.5.2) : libpng 1.6.34 : libtiff 4.0.9 : zlib 1.2.11 : libwebp 0.6.1 : libopenjp2 2.3.0

 Found AVX2
 Found AVX
 Found SSE

I notice that I had not run ldconfig however on doing so I get this error

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

I have downloaded tess4j but it isn't clear what if any the manual step is to make it available to jython/sikuli-ide


-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.