← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #259550]: issue in comparing two images

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
basic information about the problem can be found in comment #3.
... and it shows, how one can workaround in most cases.

In the original case (mentioned also in comment #4, we have a similar situation:
we have 2 images, that only in some part show gray color instead of red.
checking the match score, one can find, that one image against the other matches with a score of 0.98+ which results in a rounded value of 0.99 (shown in the match printout).
So in this case just using
Pattern(img).exact()
already works (no need to double check)

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.