← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #659954]: Sikuli doesn't recognise images from other machines

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
be sure, to have understood, how SikuliX works:
http://sikulix-2014.readthedocs.io/en/latest/basicinfo.html#sikulix-how-does-it-find-images-on-the-screen

If an image is not found by SikuliX, though you think you can see it on
the screen, then usually in the actual environment there are differences
at the pixel level, that are not obvious for your eyes, but lead to a
match score less than 0.7 (in the standard).

The reason behind usually is a different behaviour of the rendering
process and/or different fonts (if text is part of the image): anti-
aliasing, background, edge-smoothing, ...

Take care, that the snapshot concentrates on the key aspects of the image with as little background as possible.
Find out, what the reasons are for the difference and correct if possible.

In doubt, you need a different set of images for each unique
environment.

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