← Back to team overview

sikuli-driver team mailing list archive

[Question #697643]: Tesseract library problems

 

New question #697643 on SikuliX:
https://answers.launchpad.net/sikuli/+question/697643

I receive the below error when I try to use "findText":

[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!
[error] script [ login ] stopped with error in line 11
[error] org.sikuli.script.SikuliXception ( org.sikuli.script.SikuliXception: OCR: start: Tesseract library problems: Error looking up function 'TessAltoRendererCreate': /usr/lib/x86_64-linux-gnu/libtesseract.so.4.0.0: undefined symbol: TessAltoRendererCreate )
[error] --- Traceback --- error source first
line: module ( function ) statement 
3: main (  waitText )     match = findText(text)
11: main (  <module> )     waitText("User Name:", 10)
[error] --- Traceback --- end --------------

I have the below output running "tesseract -v":
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 though I'd might need to build tesseract 4.1, so I downloaded and tried to build. It is complaining about my level of leptonica, even though I have downloaded and built leptonica-1.81.1

Any help would be appreciated.

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