Skip to content

Motion ratio

Motion ratio The motion ratio is the result of motion detection between 2 video frames. All motion ratios values are within the 0..1 range.

For each video frame received:

a) if motion is detected:

The OnMotionDetected event occurs. This event returns the and returns a global motion ratio. From this event it is possible to also query cells using CellMotionRatio (x, y) to get their individual motion ratio.

b) if no motion is detected:

The OnMotionNotDetected event occurs.