← Back to team overview

sikuli-driver team mailing list archive

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

RaiMan proposed the following answer:
I at least have a workaround, that lets you proceed for now:

  // org.sikuli.basics.Debug.setDebugLevel(3); //only needed in case of crashes (3 is sufficient)
  org.sikuli.basics.Settings.OcrTextRead = true;
  org.sikuli.basics.Settings.OcrTextSearch = true;
  (new Region(0,0,20,20)).text() // this triggers the Tesseract initialization

now you can use findText(), which is the better function, because it
directly starts finding text, instead of first checking, wether the
given string is an image filename.

Would be nice to hear, that it works.

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