← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #258588]: Image match takes very long (~10 sec) or return FindFailed error on some images

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
what version of Sikuli?

The shots you uploaded are useless, because the size of the probe images
do not fit with the screenshot, where they should be found.

Forget about the two settings:
- lower MinTargetSize
- lower MinSimlarity

the first one does not have any effect at all.
good shots are found with a score >0.9.
So lowering the MinSimilarity only increases the chance for false positives.

A good shot should concentrate on the distinguishing parts and have as
little background as possible.

The first shot has some black pixels at the edges, that are not seen on the screenshot.
With a complete dialog box as shot, the edges should stay inside the box borders.

Generally searches are faster the smaller the region that is searched in.
So if you know the position of the dialog box, you should use an appropriate smaller region.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.