Skip to content

MotionDetector_GlobalMotionRatio

property, read-only

Delphi
property MotionDetector_GlobalMotionRatio: Double read GetMotionDetector_GlobalMotionRatio;
C++Builder
__property double MotionDetector_GlobalMotionRatio = {read=GetMotionDetector_GlobalMotionRatio};
C#
public double MotionDetector_GlobalMotionRatio { get; }
VB.NET
Public ReadOnly Property MotionDetector_GlobalMotionRatio As Double
C++/Qt
double GetMotionDetector_GlobalMotionRatio ();

Retrieves the last motion ratio (moved pixels count / total pixels count) of the grid's cells having their sensitivity enabled (value between 1 and 9).

The return value will be in the 0.0 to 1.0 range (e.g. 0.5775).

This value is the result of the motion detection of the last video frame received.

This value is also returned by the OnMotionDetected event.