sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #54940
Re: [Question #690346]: Find gives different result when using Pattern attributes on code than using the IDE pane
Question #690346 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/690346
Status: Open => Answered
RaiMan proposed the following answer:
I do not understand the inner loop (range(laps)), which simply does 5
times the same exists()?
What is the intention to use Pattern()......mask()?
If only the size of the image varies, then a repeated exists() would be
sufficient with the image resized with a stepping of 1 pixel between a
min-size and a max-size should reveal a match with the best score.
Hence you have to calculate the resize factor out of the width or
height.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.