sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #33689
Re: [Question #269208]: Reading uneditable text form a screen
Question #269208 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269208
Status: Open => Answered
RaiMan proposed the following answer:
did you already try to do something like that:
Region regText = new Region(…); // whatever to get the region that contains the text to read, as little background as possible
System.out.println(regText.text()); // what do you get?
With Sikuli features, this is the only possible approach.
You might experiment with Tesseract from command line.
If this works better, you can issue a command from inside your Java Sikuli code, to get the text, after having captured the region (regText above) to an image file.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.