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

    Status: Open => Answered

RaiMan proposed the following answer:
As long as on another device the captured image is rendered (visible on
screen) with the same width and height in pixels, the script should
work.

But if the rendering process on the other device displays the image in
another resolution, then usually the width and height in pixels is
different and the image will no longer found by Sikuli.

*** Background: Currently the image search is based on sliding the image probe 
(your captured image) over the base image (the search region - I guess in your 
case the whole screen) pixel by pixel and calculating a match score between 0 
and 1 based on the comparison of the pixels of the 2 rectangles. 
So searching an image of 30x30 in a region of 300x300 internally results in 271 
* 271  comparisons of 2 pixel areas of 30x30.

*** Current solution:
without any special provisions: You need a different image set for every 
different resolution.

If you know, how the images are rendered in the different resolution,
you might try to automatically setup a new image set using some graphics
package like ImageMagick.

Next year I will implement some standard features into version 1.2, that
might help in these situations.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to