sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #24573
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: Open => Answered
RaiMan proposed the following answer:
Sikuli's OCR feature is Region.text(), which returns a string with the text it could read.
So you have to somehow compare the returned text with your expectations and pack this into an assertion - but that is basic testing.
multiline text might make problems, as the complete OCR feature is still
rather weak with some fonts.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.