← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #663991]: get count of similar images

 

Question #663991 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/663991

    Status: Open => Answered

RaiMan proposed the following answer:
supposing it is SikuliX 1.1.1 or even 1.1.2, then this should do what
you want:

window.findAll(testImage.similar((float) 0.99)); //.exact()
while (window.hasNext()) {
    nextMatch = window.next();
....

the matches are delivered with decreasing score.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.