← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #694520]: Tesseract

 

Question #694520 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/694520

    Status: Answered => Open

Jeff_Vallis is still having a problem:
May have changed since start of this item
Formated and reinstalled Big Sir version 11.1
2.0.4-2020-03-14_08:01/Mac10.16/Java8(64)1.8.0_271-b09

So from a clean install
Brew - Installed
jython
jruby
tesseract

ran IDE
Terminal
Last login: Tue Dec 22 16:34:19 on ttys000
jeff@Jeffs-iMac ~ % java -jar /Users/Jeff/Documents/SikuliX/sikulixide-2.0.4.jar 


failed to load message missingjython and ruby
which were obviously on my machine bit not found by the IDE
used your link and installed the Jython from it
link :- https://github.com/RaiMan/SikuliX1/wiki/How-to-make-Jython-ready-in-the-IDE

exit from IDE gave the expected error message that I have reported before :-
Exception in thread "Thread-0" java.lang.IllegalStateException: Shutdown in progress
etc .....

ran IDE again - loaded
setRect to anything
v = text()
up came a webpage telling me to install tesseract
link :- https://github.com/RaiMan/SikuliX1/wiki/macOS-Linux:-Support-libraries-for-Tess4J-Tesseract-4-OCR
again I know its installed so ran the test suggested on the web page
tesseract -v
web page says result should be

and you should get something like this:
tesseract 4.1.0
 leptonica-1.78.0
  libgif 5.1.4 : libjpeg 9c : libpng 1.6.37 : libtiff 4.0.10 : zlib 1.2.11 : libwebp 1.0.3 : libopenjp2 2.3.1
...

I get :-
tesseract 4.1.1
 leptonica-1.80.0
  libgif 5.2.1 : libjpeg 9d : libpng 1.6.37 : libtiff 4.2.0 : zlib 1.2.11 : libwebp 1.1.0 : libopenjp2 2.3.1
 Found AVX2
 Found AVX
 Found FMA
 Found SSE


So I conclude that the IDE is not finding it maybe a link needs creating to the location of the Sikuli jar or a PATH needs adding


my stuff - env
TERM_PROGRAM=Apple_Terminal
SHELL=/bin/zsh
TERM=xterm-256color
TMPDIR=/var/folders/38/md8qlsg10pd0h5cppkrmvw5c0000gn/T/
TERM_PROGRAM_VERSION=440
TERM_SESSION_ID=9CE7DF99-EDBC-419F-9D4E-634442E38CD7
USER=jeff
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.zi6APYxktM/Listeners
PATH=/Users/jeff/.pyenv/shims:/Library/Frameworks/Python.framework/Versions/3.9/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
LaunchInstanceID=2386ABBF-DB5D-4E0B-89E9-FC14E4B20F9E
__CFBundleIdentifier=com.apple.Terminal
PWD=/Users/jeff
LANG=en_GB.UTF-8
XPC_FLAGS=0x0
XPC_SERVICE_NAME=0
PYENV_SHELL=zsh
SHLVL=2
HOME=/Users/jeff
LOGNAME=jeff
SECURITYSESSIONID=186a7
_=/usr/bin/env

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