sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #09061
Re: [Question #189128]: Check if exists() by smaller photo
Question #189128 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/189128
Status: Open => Answered
RaiMan proposed the following answer:
Based on the pixels in your images, they are not the same. They might look the same for your eyes, but what counts for Sikuli are the pixels. The 2 images must have the same pixel count in width and height. the pixels itself might vary slightly in color or brightness, which leads to different similarity scores.
So with the current features of Sikuli, this is not possible.
You have to resize the HD image to 400x400 somehow (best with the same
resize algorithm, as it was brought from 400x400 to 200x200).
ImageMagick e.g. can be used programmatically.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.