Ask Your Question

biosension's profile - activity

2016-05-31 12:01:11 -0600 asked a question How do I know exactly when motion is detecected? Optical Flow

I am using the calcOpticalFlowFarneback algorithm to detect motion and to draw the movement in the image. I have about 40 cameras and all is well. With the example code, drawing is not the issue.

But how do I detect, in Python, when the first movement is detected and when there is no longer any movement? I want to broadcast a message from the Python application when the motion is first detected.

Thanks