Skip to main content

Motion Detection

EyesOnIt can perform motion detection on video frames. In cases where you are detecting moving objects, motion detection is a quick way for EyesOnIt to determine whether it should examine a video frame for an object. If there is no motion, EyesOnIt typically will not need to perform further processing on that frame, since there have been no significant changes from the previous frame.

There are a few important settings related to motion detection:

Enabled

Motion detection can be enabled or disabled. If motion detection is disabled, the rest of the settings are ignored and motion detection is not performed. When motion detection is disabled, every frame will be checked for objects. This will significantly increase the compute resources used by EyesOnIt.

Detection Threshold

The detection threshold tells EyesOnIt how much motion it should respond to. For example, if you are detecting vehicles, you want to trigger processing when a vehicle comes into view, but not when a bird flies past. In this case, you can set the detection threshold large enough that EyesOnIt does not respond to the movement of a bird, but small enough that EyesOnIt does respond to the movement of a vehicle.

The detection threshold is influenced by the frame rate. If the frame rate is high, the same moving object will produce less motion from one frame to the next than if the frame rate were low. The frame rate should be considered when setting the motion detection threshold. Some trial and error may be required.

Regular Check Frame Interval

The regular check frame interval tells EyesOnIt to check for motion every certain number of frames. You may want to check for motion in every frame, but if you only want to check every 10 frames, you can do that as well. If the EyesOnIt frame rate is 5 frames per second and you set this value to 10, EyesOnIt will check for motion once every two seconds. Keep in mind that objects move further over two seconds than they move across .2 seconds. This should be considered when setting the motion detection threshold.

No Motion Check Interval

The no motion check interval tells EyesOnIt how often to analyze a video frame even if there is no motion. This setting can be used as a backup check to see if the object you care about is present even if motion detection didn’t detect it. For example, if the EyesOnIt frame rate is set to 10 frames per second and you want to check for objects every 10 seconds even if no motion has been detected, set this value to 100. This setting is optional.