← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #273552]: Region detects no motion

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
reg = <... someRegion ...>

while True:
    img = capture(reg)
    wait(1)
    if reg.exists(Pattern(img).exact(), 0):
        break

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