← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #667481]: How to speed up script

 

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

    Status: Open => Answered

masuo proposed the following answer:
By restricting the search to a smaller region, you can speed up
processing.

http://sikulix-2014.readthedocs.io/en/latest/region.html#finding-
inside-a-region-and-waiting-for-a-visual-event

By using getLastMatch() to avoid a second search for the same image, you
can speed up a little.

http://sikulix-2014.readthedocs.io/en/latest/region.html?highlight=getLastMatch#Region.getLastMatch

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