← 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: Answered => Open

jeff radom is still having a problem:
I see, but how should i call OCR methods and use any sort of assertions
either TestNG or anything else?


On Tue, Mar 4, 2014 at 9:46 AM, RaiMan <question244845@xxxxxxxxxxxxxxxxxxxxx
> wrote:

> Your 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 ;-)
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/sikuli/+question/244845/+confirm?answer_id=12
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/sikuli/+question/244845
>
> You received this question notification because you asked the question.
>

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