sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #22638
Re: [Question #240375]: MinSimilarity setting is implemented incorrectly?
Question #240375 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/240375
Status: Answered => Open
Eugene S is still having a problem:
Hi RaiMan,
Thanks a lot for your answer and the explanation. This is very valuable!
I'd like to have your opinion on a certain issue I am experiencing with
regards to MinSimilarity.
I have automated a certain process. To verify that this process was
completed successfully, I have to verify that a certain icon color was
changed. This is the only indication that the process is complete. I was
searching through the launchpad questions for a way to detect colors
using Sikuli but it doesn't seem like a trivial task.
That's when I tried to iterate through all the appearances of an image
on the screen (both colors) using the same image pattern. I have noticed
that the images of the same color like the pattern image I was using,
are detected with similarity=1.00 and those of the other colors were
detected with similarity=0.99. So I thought I can exploit that fact to
distinguish between the two images.
Do you think it's a possible strategy in my situation? Can I even
somehow access the detected image object similarity field? I mean, just
to programatically check what's the detected image similarity parameter?
Hope I have described my issue clear. :)
Thanks again!
Eugene S
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.