← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #244845]: HowTo Java: evaluate Sikuli ImagePath inside Eclipse and outside running from built jar

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
To use the OCR feature
- you must have run setup with option 5 (additionally to option 4)
- if you have not done that before, you have to completely rerun setup from beginning
- at runtime in your Java app you have to say at the beginning:
org.sikuli.basics.Settings.OcrTextRead = true;

... and one time after setup you should delete the folder libs, so it
gets recreated at runtime including the tessdata folder (a bug ;-)

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.