← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #657922]: Is there a way to get the highest match score of a failed Region.exists() call?

 

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

skeets posted a new comment:
Well to us it sort of makes sense but i yeah I also understand why it
doesn't make sense.

We check everything at .99 so that we are not finding any false
positives and really don't want to go lower than that.  So for a failed
match we print out what the expected image is that we are trying to find
and then a screen shot of what the region was at that time of the
failure.  Many times we manually see that our image appears to be there
but our score is "0".  So that is really not true as I'm sure Sikuli may
have found the image up to .98 for example...  Well be nice to see that
.98 was the score so that we know that Sikuli almost found a match
instead of thinking that Sikuli didn't find anything even close to a
match.

I guess that's all.  It's really more for debugging our scripts.
Understand though that failed match means failed match and Sikuli didn't
find what we wanted it to find within the tolerance given...

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