← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #295027]: Pattern match preview in IDE shows two different matches while "Exact" similarity is set

 

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

RaiMan posted a new comment:
in the current implementation "exact" means, that the score is > 0.99.

So if one match yields 0.991... and the other 0.992..., the both are
"exact" in this sense.

A workaround is to evaluate the score yourself and make your decision:
m = exists(someImage)
print m. getScore()

Another option always is, to optimize the shot, so that it contains as
little background as possible.

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.