sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #21823
Re: [Question #237496]: How to set Finder similarity
Question #237496 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/237496
Status: Open => Answered
RaiMan proposed the following answer:
finder.find( "captured.png", 0.7 )
should give an error !? Not a valid function call.
finder.find( Pattern("captured.png").similar(0.95))
a similarity of below 0.8 does not make sense (the default is 0,7 which
may lead to false positives with "bad" shots in some cases)
If you want an exact match use Pattern().exact() which means >0.99
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.