← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #463637]: HowTo use Similar?

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
correct use:
m = find(Pattern("someImage").similar(0.5).targetOffset(x, y))

BTW: working with wanted similarities below 0.7 might lead to false positives.
If you think you need it, then your shot might not be optimal (too much background).
see:
http://sikulix-2014.readthedocs.io/en/latest/basicinfo.html#sikulix-how-does-it-find-images-on-the-screen

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