← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #516815]: How to manually update the image cache?

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
if you have the latest 1.1.1 and this does not solve your problem, then
this is not the reason.

Screen or Region do not have an image cache, only the lastMatch is
remembered, but overwritten with every find.

So the only reason left, is timing:
the search is faster, than you expect/observe visually.

Make the search region as small as possible and update the region together with the movement of your target.
Be aware: a search of a small visual in a small region might still take some 10 milliseconds, so a scan rate above 10 to 20 does not add any effect anymore.

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