sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #25856
Re: [Question #248391]: Unable to use java version of 1.1.0, IDE is not being generated
Question #248391 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/248391
Status: Open => Answered
RaiMan proposed the following answer:
@Andrej
sorry, only now realized, we are talking about the Beta:
these are the steps:
- run setup with option 2 and 3 (you get sikulixapi.jar)
- this has to be in your projects class path (do not copy, use a reference)
in your Java code put
org.sikuli.basics.Settings.OcrTextRead = true;
before any usage of any Sikuli feature.
at runtime the tessdata folder will be recreated dynamically in the libs
folder the first time Region.text() is used.
In the above debug log you can see this as (similar ;-)
[debug] ResourceLoader: check: Trying to extract tessdata folder since it does not exist yet.
[debug] ResourceLoader: export: Trying to access package for exporting: META-INF/libs#tessdata
to: /Volumes/HD6/rhocke-plus/ZRun11Beta/libs
[debug] ResourceLoader: export: from: file:/Volumes/HD6/rhocke-plus/ZRun11Beta/sikulixapi.jar
[debug] ResourceLoader: export: Found 30 Files in META-INF/libs/tessdata
[debug] TextRecognizer: init OK: using as data folder: /Volumes/HD6/rhocke-plus/ZRun11Beta/libs/tessdata
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.