← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #225806]: Images sometimes no longer recognizable in sikuli?

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
Since there is no magic behind: If an image, that was found before, is
not found any longer, then the environment, where you think the image
should be found , has changed somehow.

The most common reason is some slight change in the background or
surrounding of the image, that you as a human do not realize, because
you concentrate on the key aspects of the image.

In many cases, this is because of "bad" shots (too much background, not
concentrating on the key visual aspects), that are found with a low
similarity slightly above 0.7 and then with some slight environment
changes fall below 0.7, which means no longer found.

In some cases, the standard waiting time of 3 seconds is not sufficient:
the image is always found within 3 seconds (e.g. max. 2.5) and then some
changes in environment lead to a longer time for the target image to
appear.

In other cases, some used regions are no longer valid in the sense, that
now an even small part of the image is outside the region.

So there are many possible reasons for a "sudden" FindFailed, but always
this can be affiliated to changes in the environment.

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