← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #664379]: how to comapare big screenshots

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
--1. if the shot image has width x pixels and height y pixels, then all
x * y pixels must be visible on the screen.

--2. how many pixels in the shot and on the screen are equal makes up
the similarity score: the more pixels are different  the lower the
similarity.

If a few pixels differ you will get FindFailed with wanted similarity
0.99.

Generally: large images tend to make problems, since the more details,
the more the risk, that they have changed somehow on the current screen.

It might be better to work with 2 or 3 smaller detail shots, to verify a
larger image.

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