sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #44128
Re: [Question #659627]: Color detection problem in Sikuli
Question #659627 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/659627
RaiMan proposed the following answer:
I made different tests with your 2 images.
According to the general recommendations for good shots, one should concentrate on the important aspects of the image (in your case the colored area).
case 1: search image cropped to a rectangle containing only the coloured portion
case 2: search image cropped to a rectangle containing only part of the coloured area (no background)
In both cases the images are found in the other image (your uploaded
images) with a score of less than 0.95.
Even if I use your uploaded originals the second (horizontally coloured)
image is found in the first one with a score of only 0.94
So using an optimised pattern with a wanted score of 0.99 should work in
your case to select the wanted image.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.