sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #25114
Re: [Question #246390]: manual similarity setting overide Settings.MinSimilarity ?
Question #246390 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246390
Status: Open => Answered
RaiMan proposed the following answer:
Using the slider in the preview window in the real code (this is hidden
by the thumbnails, you can check in 1.0.1 with the toggle switch in the
view menu) the given image is change into a Pattern:
before: Image
"some_image.png"
after: Pattern
Pattern("some_image.png").similar(...)
So your observation is correct:
Settings.MinSimilarity=0.9 is applied internally for the search of images, that are not packed into a Pattern, whereas a Pattern defines an individual minSimilarity for that image.
BTW: resetting in the preview window the slider to 0.7 again, converts
the existing Pattern back to a simple image, that then would again get
the Settings.MinSimilarity=0.9
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.