[1.1.0-Beta1] Using find(text) or findText(text) does not initialize Tesseract correctly - workaround --- fixed with Beta2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Fix Committed
|
Critical
|
RaiMan |
Bug Description
********* workaround
with Java:
org.sikuli.
org.sikuli.
(new Region(
with Python scripting
Settings.
Settings.
Region(
-------
Hi,
after trying out the Sikuli IDE with python I wanted to try the java version.
Based on the available documentation (and some answers to previously asked questions) the sikuli-java.jar (or with the new version sikulixapi.jar) from the SikuliX.app folder should be directly referenced within the project (I'm using Eclipse).
Unfortunately I didn't find an explanation how to get the .app for the beta version 1.1.0. I've tried the installation via sikulixsetup-
The same applies when I build from source code via mvn clean install.
So I've tried linking the sikulixapi.jar from the SikuliX folder (the one where I've executed the setup).
I am now getting following error message:
Error opening data file tessdata/
Please make sure the TESSDATA_PREFIX environment variable is set to the parent directory of your "tessdata" directory.
Failed loading language 'eng'
Tesseract couldn't load any languages!
I have to say that opening of system preferences is working (via App.open("System Preferences.
What is not working is text recognition (which explains why the program is looking for tessdata).
Here's my question: how should the environment be set up on MAC in order to execute the TestNG test ideally without external dependencies (for Continuous Integration systems)?
Thanks in advance.
description: | updated |
Changed in sikuli: | |
status: | New → Fix Committed |
importance: | Undecided → High |
assignee: | nobody → RaiMan (raimund-hocke) |
milestone: | none → 1.1.0 |
Changed in sikuli: | |
importance: | High → Critical |
summary: |
[1.1.0-Beta1] Using find(text) or findText(text) does not initialize - Tesseract correctly - workaround + Tesseract correctly - workaround --- fixed with Beta2 |