macOS Intel: SX205: unable to install needed Tesseract 4 (brew installs version 5)

Asked by Chetan

when using below link i am not able to install tesseract and it installs version 5
https://github.com/RaiMan/SikuliX1/wiki/macOS-Linux:-Support-libraries-for-Tess4J-Tesseract-4-OCR

however with that we are getting below error
    ctrlWords=acroTopLeft.findWords()
SikuliXception: org.sikuli.script.SikuliXception: OCR: start: Tesseract library problems: Error looking up function 'TessBaseAPIRecognizeForChopTest': dlsym(0x2172b1380, TessBaseAPIRecognizeForChopTest): symbol not found

tesseract 5.3.1
 leptonica-1.82.0
  libgif 5.2.1 : libjpeg 8d (libjpeg-turbo 2.1.5.1) : libpng 1.6.39 : libtiff 4.5.0 : zlib 1.2.11 : libwebp 1.3.0 : libopenjp2 2.5.0
 Found AVX2
 Found AVX
 Found FMA
 Found SSE4.1
 Found libarchive 3.6.2 zlib/1.2.11 liblzma/5.4.1 bz2lib/1.0.8 liblz4/1.9.4 libzstd/1.5.4
 Found libcurl/7.79.1 SecureTransport (LibreSSL/3.3.6) zlib/1.2.11 nghttp2/1.45.1

is there a way we can install the required tesseract version on mac Monterey

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Chetan (cshamdas) said :
#1
Revision history for this message
RaiMan (raimund-hocke) said :
#2

Found this also - looks promising, but no time to test it before end of June.

You should try the solution mentioned in the comment.

Feedback appreciated.

Revision history for this message
Chetan (cshamdas) said :
#3

Hi @raimin
did you mention some link? as that looks missing?

Revision history for this message
RaiMan (raimund-hocke) said :
#4

Since my comment #2 was an answer on your comment #1, I meant the link in your comment #1 :-))

Can you help with this problem?

Provide an answer of your own, or ask Chetan for more information if necessary.

To post a message you must log in.