sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #21826
Re: [Question #237496]: How to set Finder similarity
Question #237496 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/237496
Status: Open => Answered
RaiMan proposed the following answer:
-- Looks to me like Finder can ONLY do exact match, no matter how you call it.
no not at all.
The Finder class internally is used for all search ops.
-- docs say: find(path-to-imagefile[, similarity])
ok, makes sense for that usage (Though I did never use that ;-)
-- Finder does not work
f = Finder(some_image)
f.find(some_other_image)
some_image must have both width and height equal or greater compared to
the respective values of some_other_image.
You might check using the IDE:
- display some_image with some image viewer in original size
- check using IDE Preview
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.