New question #817874 on SikuliX:
https://answers.launchpad.net/sikuli/+question/817874

I'm using SikuliX 1.1.1 with IDE 2.0.5.
I have region and a pattern that I'm looking for with onAppear. For the 
purposes of testing, I have screenshots. Shot 1 has a match with the image in 
the pattern with 0.85 score, according to the IDE dialog. Shot 2 matches with 
0.66 score. Using exists(p) confirms this, but the observer wont trigger the 
handler for the 0.66 scored match, despite the pattern being set with 
similar(0.4).

If I set the pattern's similar to 90%, neither image will trigger the handler, 
so the similarity setting does have an effect. But it seems that the onAppear 
handler won't trigger for matches under 0.7 despite a pattern having a lower 
similarity setting.

I changed Settings.minSimilarity to a low enough value, and the 0.66 image 
triggered, but this isn't the only observation I'm running,  and some of them 
need slightly tighter matches.

Is this a known issue? Or am I maybe doing something wrong?

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to