Motion ratio
The motion ratio is the result of motion detection between 2 video frames. All motion ratio values are within the 0..1 range.
For each video frame received:
- If motion is detected, the OnMotionDetected event occurs and returns a global motion ratio. From this event, the cells can also be queried with MotionDetector_CellMotionRatio (x, y) to get their individual motion ratio.
- If no motion is detected, the OnMotionNotDetected event occurs.