sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #29155
Re: [Question #257009]: Sikuli-Scripts 1.0.1--[error] TextRecognizer: init: tessdata folder not found
Question #257009 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/257009
Status: Open => Answered
RaiMan proposed the following answer:
-- 1:
for use in Java programming with version 1.0.1 you should produce a sikuli-java.jar selecting setup options 4 and 5, so it contains the tessdata folder for export at runtime.
-- 2: do this setup in a separate new folder and then move sikuli-
java.jar to its final maven repo place (and only that jar!)
--3: run your test. the libs folder containing the tessdata folder will
now be exported to the folder containing the sikuli-java.jar
The problem with 1.0.1 (fixed in 1.1.0): during setup, the tessdata
stuff is packed with the jar, but not exported at setup and will not be
during runtime, as long as a valid libs folder exists.
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.