← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #221291]: Pattern being found when using IDE match preview but not when running script

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
-- Any idea of why this could be happening?
not really :-(

-- The background is actually all white ...
That is even worse, since pixels are pixels. The more background is contained around the key visual aspects of your shot (the aspects, that makes it being different from other areas on the screen), the higher the risk of false positives and the lower the match score.
The search is only based on a statistical comparison of the image pixels against all possible areas and their pixels on the screen having the same size.

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