Question #293477 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/293477
Status: Open => Answered Eugene S proposed the following answer: Debug your script and try to understand what actually happens. Use highlight method to see what Sikuli finds on the screen. Try: Screen sc = new Screen(0); sc.find("icon.png").highlight(1); Using highlight will do two things: 1. It will show a red frame around the pattern that it finds so you can clearly see what Sikuli treats as match. 2. It will print out the Match details like that: [log] highlight M[68,610 11x14]@S(S(0)[0,0 1680x1050]) S:0.86 C:73,617 [444 msec] for 1.0 secs Here, among the rest, you can see the Similarity score (S:0.86 -> 86% in this case). So maybe you have another pattern on your screen that is similar or almost similar to the pattern that you are trying to match and it ends up with a false positive. In such case you should increase the similarity score to a higher value. -- You received this question notification because your team Sikuli Drivers 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