[Sikuli-driver] [Question #667010]: Image FindFailed on different MacBook-Pros even though the screen resolutions are the same

2018-03-21 Thread Lee Yen Liang
New question #667010 on Sikuli: https://answers.launchpad.net/sikuli/+question/667010 I have two MacBook-Pros. Both machines' resolutions are 2560 x 1600. Each machine runs sikuli to do some tasks on an Android emulator(Nox App Player) whose resolution is set to 720 x 1280. I just captured an

Re: [Sikuli-driver] [Question #667010]: Image FindFailed on different MacBook-Pros even though the screen resolutions are the same

2018-03-21 Thread RaiMan
Question #667010 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/667010 Status: Open => Answered RaiMan proposed the following answer: I guess the problem is with the Android emulator, which produces differences on the both Macs. To verify, make a screenshots on both machin

Re: [Sikuli-driver] [Question #667010]: Image FindFailed on different MacBook-Pros even though the screen resolutions are the same

2018-03-21 Thread Lee Yen Liang
Question #667010 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/667010 Lee Yen Liang posted a new comment: `Pattern("icon.png").similar(0.5)` lowers the matching criteria. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sik

Re: [Sikuli-driver] [Question #667010]: Image FindFailed on different MacBook-Pros even though the screen resolutions are the same

2018-03-21 Thread Lee Yen Liang
Question #667010 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/667010 Lee Yen Liang posted a new comment: I can't see much difference between the images captured on different MacBook-Pros. I discovered that the new MacBook-Pro is able to find the image using `Pattern("icon.png

Re: [Sikuli-driver] [Question #667010]: Image FindFailed on different MacBook-Pros even though the screen resolutions are the same

2018-03-21 Thread RaiMan
Question #667010 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/667010 RaiMan proposed the following answer: situations like that usually come from that the image has too much background towards the edges of the image and the background in another environment is slightly differe

Re: [Sikuli-driver] [Question #667010]: Image FindFailed on different MacBook-Pros even though the screen resolutions are the same

2018-03-22 Thread Lee Yen Liang
Question #667010 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/667010 Lee Yen Liang posted a new comment: Maby I have to find a way to set the colors of the screen to exactly the same on the two computers. -- You received this question notification because your team Sikuli Dr

Re: [Sikuli-driver] [Question #667010]: Image FindFailed on different MacBook-Pros even though the screen resolutions are the same

2018-03-22 Thread Lee Yen Liang
Question #667010 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/667010 Lee Yen Liang posted a new comment: With the help of the online photo editor (`https://pixlr.com/editor/`), I found that the colors are slightly different between the image captured on the old MacBook-Pro and

Re: [Sikuli-driver] [Question #667010]: Image FindFailed on different MacBook-Pros even though the screen resolutions are the same

2018-03-22 Thread RaiMan
Question #667010 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/667010 RaiMan proposed the following answer: This surely has nothing to do with colors. If you look at both images and count pixels: only just looking at the left slider: - old 9 Pixels - new 10 Pixels this simply