← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #227960]: How to make sikuli detect motions within a specific region?

 

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

Frank Feng gave more information on the question:
sorry, i made a mistake, actually the following line is not right:
for ch in event.changes:
        if ch is None:
            event.region.stopObserver()
            raise Exception('the video stops playing')

'ch' will never get to 'None' i guess...

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