← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #644415]: Unable to find Pattern within a pre set region on the screen.

 

Question #644415 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/644415

masuo proposed the following answer:
Sikuli searches the region using a default minimum similarity of 0.7.
http://sikulix-2014.readthedocs.io/en/latest/pattern.html

It may be effective to set minimum similarity smaller.
I show example codes by python.

[when pattern methods are not used]
click("1499011519197.png")

[when pattern methods are used to set the minimum similarity to 0.6]
click(Pattern("1499011519197.png").similar(0.60))

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.