Re: [Sikuli-driver] [Question #691602]: Highest possible exactness for Match?
Question #691602 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/691602 Status: Open => Answered RaiMan proposed the following answer: The solution is based on an image of the area, where the overlay is expected (screenshot_of_background.png) (in this case including major parts of the tree to have good details) transparentImageFound: match = exists(screenshot_of_background) If match: score = match.getScore() return score < 0. # suitable value has to be found The match score internally is a floating point number. -- 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
Re: [Sikuli-driver] [Question #691602]: Highest possible exactness for Match?
Question #691602 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/691602 Removed link to bug: #1885680 https://bugs.launchpad.net/bugs/1885680 "Pattern.similar values over 0.99 are overwritten as .exact() by the IDE when saving" -- 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
Re: [Sikuli-driver] [Question #691602]: Highest possible exactness for Match?
Question #691602 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/691602 Status: Needs information => Open jerome gave more information on the question: 2.0.4, sure I'll end them now -- 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
Re: [Sikuli-driver] [Question #691602]: Highest possible exactness for Match?
Question #691602 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/691602 Status: Open => Needs information RaiMan requested more information: Sikuli version? can you send me a screenshot (situation visible) and the "background"-image to sikulix---at---outlook---dot---com? -- 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
Re: [Sikuli-driver] [Question #691602]: Highest possible exactness for Match?
Question #691602 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/691602 Linked to bug: #1885680 https://bugs.launchpad.net/bugs/1885680 "Pattern.similar values over 0.99 are overwritten as .exact() by the IDE when saving" -- 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
[Sikuli-driver] [Question #691602]: Highest possible exactness for Match?
New question #691602 on Sikuli: https://answers.launchpad.net/sikuli/+question/691602 I'm having an issue trying to detect transparent images that appear over a background image. The way I've been approaching this is to take a screenshot of the background image and to call a method like transparentImageFound: return has(screenshot_of_background.exact()) == False However, it seems similarity of 99% isn't enough to catch these images appearing some times. (they are very obvious visually to humans) Instead of using exact() I've also tried .similar(0.995) and such Collecting the transparent images ahead of time isn't really an option. Am I approaching this incorrectly? Any suggestions? -- 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