Re: [Sikuli-driver] [Question #678309]: Gradually reducing MinSimilarity
Question #678309 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678309 Mark Weisler posted a new comment: Anything that corroborates "miracles" is so heartwarming! Miracles happen ... [image.png] I wonder if this guy was an undercover cop putting himself out as bait. -- 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 #678309]: Gradually reducing MinSimilarity
Question #678309 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678309 Max Musterman confirmed that the question is solved: Thanks RaiMan, that solved my question. -- 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 #678309]: Gradually reducing MinSimilarity
Question #678309 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678309 Status: Answered => Solved Max Musterman confirmed that the question is solved: Thanks a bunch -- 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 #678309]: Gradually reducing MinSimilarity
Question #678309 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678309 Status: Open => Answered RaiMan proposed the following answer: in the IDE itself you can check the similarity score: - click on the image - in the window coming up in the tab matching preview play around with the slider at the bottom your script trial would look like: simValue = 1 while True: if not exists(Pattern(image).similar(simValue), 0): # see comment simValue -= 0.01 continue # do something when found break -- 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 #678309]: Gradually reducing MinSimilarity
New question #678309 on Sikuli: https://answers.launchpad.net/sikuli/+question/678309 Hi, thanks for your work maintaining this script. I wonder, is there a way to gradually reduce the MinSimilarity? You can set it to a specific value, but is it possible to reduce it by 0,01 continuously within a loop until it finds an image? Something like Settings.MinSimilarity=1 loop if image exists do thing break else decrease MinSimilarity by 0,01 -- 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