sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #52956
Re: [Question #685479]: [HowTo] Use Region to speed up execution
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.