What steps will reproduce the problem?
1. Screen thisScreen = new Screen();
2. String screenText = thisScreen.text();
3.
What is the expected output? What do you see instead?
It looks like the OCR is turned off by default. I would like to use
SikuliFirefoxDriver to grab a screenshot of the browser and do the text() on
that image. Not sure how to do that. Currently is gives me:
[error] Region.text: text recognition is currently switched off
How do I turn it on, either by using the API or SikuliFirefoxDriver?
It looks like you turn on the OCR setting the following to true:
Settings.OcrTextSearch
Settings.OcrTextRead
But my jar files don't seem to have the
org.sikuli.script.Settings
What version of the product are you using? On what operating system?
sikuli-webdriver-1.0.1.jar
sikuli-api-1.0.2-standalone.jar
Windows 7 64 bit
Please provide any additional information below.
Original issue reported on code.google.com by mendel...@gmail.com on 26 Jun 2015 at 11:03
Original issue reported on code.google.com by
mendel...@gmail.com
on 26 Jun 2015 at 11:03