Skip to content

MotionDetector_GlobalColorIntensity

function

Delphi
function MotionDetector_GlobalColorIntensity (RGBSelector: TRGBSelector): LongInt;
C++Builder
System::LongInt __fastcall MotionDetector_GlobalColorIntensity(TRGBSelector RGBSelector);
C#
public int MotionDetector_GlobalColorIntensity(TRGBSelector RGBSelector);
VB.NET
Public Function MotionDetector_GlobalColorIntensity(RGBSelector As TRGBSelector) As Integer
C++/Qt
int MotionDetector_GlobalColorIntensity (TRGBSelector RGBSelector);

Retrieves the global average color intensity of the last video frame.

The RGBSelector parameter specifies the color to retrieve (R, G or B).