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

    Status: Open => Answered

RaiMan proposed the following answer:
start = time.time()
end = start + 2
count = 0

while time.time() < end:
    if (reg.has(img)): count += 1

if count > 2:
    print "appeared %d times in 3 seconds" % count

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to