← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #266829]: if exists(img, 0) takes over 10 seconds to execute

 

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

    Status: Answered => Solved

Linda confirmed that the question is solved:
Thanks, the screen is not that large. 
If I manually take a screenshot and attach the .png to the script, the file is around 1900x1030 with a size of 1200kb. 
When I use this attached image in the script it goes a bit faster, around 6-7 seconds when image is not found. 
When image is found it only takes around 1 second. 

But I followed your advice and shrank the region to 600x600, and it only takes 1.5 - 2 seconds now. So that works for me. 
Thanks alot.

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