← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #452783]: Can images be reused across Sikuli instances that are installed on different OS?

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
please read to understand:
http://sikulix-2014.readthedocs.io/en/latest/basicinfo.html#sikulix-how-does-it-find-images-on-the-screen

conclusion: to find a given image on the screen, it must be rendered there in the same size in pixels.
If each pixel is the same as in the given image, you have an exact match >99,9999... %.
If some of the pixels differ (usually in the background and/or at edges), then you get lower scores depending on the differences, with the risk to then get false positives or FindFailed.

In many situations the only solution is to have different image sets for
different rendering situations.

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