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.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to