← Back to team overview

sikuli-driver team mailing list archive

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

 

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

I'm encountering a problem where the matching of an image takes very long (about 10 seconds after it appears) or totally fail. I've tried tweaking the setting and changing the screenshot of the matching image but to no avail. It only happens to 2 out of 10+ images I tried to match but it slows down the execution time significantly.

My code looks like this:
wait("screenshot.png", 30) # wait for the window to appear

Screenshot used for matching: 
1.  http://imgur.com/gE9fcsy  
2. http://imgur.com/lVprQfF
I tried out both 1 and 2 but they both take about 10 second to match (or just plain fail).

Screenshot of the state where image matching is supposed to happen: http://imgur.com/Bv6emoc

What happened:
Takes about 10 second to find the image or just throw a FindFailed exception

What should happen:
Find the image within a few seconds

Different settings I've tried out that didn't solve the issue:
- lower MinTargetSize
- lower MinSimlarity

Any help would me much appreciated! 

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