These are chat archives for RaiMan/SikuliX-2014

13th
Oct 2015
Praveenpvs
@Praveenpvs
Oct 13 2015 01:05
Hi Raiman,
Praveenpvs
@Praveenpvs
Oct 13 2015 01:11
Thanks for the new release. I have a problem with comparing (finding) images in two different screens. I have used an image to find on a screen. Sikuli app is able to find the image and it got highlighted as well. But if I run the same code on a different screen (resolution is same, but a different screen size) image recognition fails here. This would be a common problem to many users using this library for test automation as they have to execute the code on different machines (possibly different screen sizes and with resolution). So, how to deal with this problem? Thanks for your time, awaiting your response.
leon
@xinlihux
Oct 13 2015 02:20
@Simon-Kaz Hi! I also researching how to use sikuli for mobile games, can you plz share more information? Now i am in very beginning stage.
leon
@xinlihux
Oct 13 2015 02:30
@Praveenpvs Yep, also encounter this issue when I tried on mobile games with different phones, awaiting fantastic solution too.
bx5974
@bx5974
Oct 13 2015 05:18
Hi @Praveenpvs
Sikuli is not scale invariant - that means sikuli expects the same image size (you can hame multiple images for multiple environments)
leon
@xinlihux
Oct 13 2015 06:39
@bx5974 If so, in my case, for single mobile game, in order to automate with sikuli, I need maintain images in different size with regards to different phones. Guess there will be lot of work, is there any alternative?
Szymon Kazmierczak
@Simon-Kaz
Oct 13 2015 10:34
@xinlihux hey, anything specific that youre looking for?
Praveenpvs
@Praveenpvs
Oct 13 2015 16:37
Thanks for the response. In my case, the resolution is same (1920x1080). But screen sizes are different. One is a 23" monitor and the other is a 18" laptop screen. From the earlier comments, I understood that we need to maintain different images for different resolutions, but what about the screen size?
Szymon Kazmierczak
@Simon-Kaz
Oct 13 2015 18:58
screen size doesnt matter
its the resolution that does
unless youre stretching the images/desktop, which would create additional issues
Praveenpvs
@Praveenpvs
Oct 13 2015 22:01
hmm! I am not stretching any image by myself. If I capture the image on a 23" monitor, it looks a bit different (more sharper) than the one on my laptop.
The image captured on a 23" monitor is not getting recognized on my laptop if I execute the same test. And its vice versa as well. But both the display devices have same resolution as mentioned earlier.