sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #08643
Re: [Question #187168]: How can I return or print just the Pattern of an image without similarity or offset
Question #187168 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/187168
Status: Open => Answered
RaiMan proposed the following answer:
I would do it this way:
Img1 = Pattern("stringatthat.png").similar(0.79).targetOffset(39,1)
if not exists(img1):
report.write "Failed - " + Img1.getFilename() + " is not present "
The docs would have told you ;-)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.