TVideoGrabber.OnMotionDetected

Prev

Next

TVideoGrabber

Events

 




































































































Occurs when a new frame is received and motion is detected.


Declaration
property OnMotionDetected: TOnMotionDetected read FOnMotionDetected write FOnMotionDetected;


__property TOnMotionDetected OnMotionDetected=read=FOnMotionDetected, write=FOnMotionDetected


Event OnMotionDetected(GlobalMotionRatio As Double, MaxMotionCellX As Long, MaxMotionCellY As Long, FrameBitmapHandle As Long, FrameNumber As Long, FrameTime As Double, FrameId As Long, CaptureFrame)

Description

This TOnMotionDetected event occurs when a new frame is received and motion is detected.
Note: be sure to activate the motion detector by enabling MotionDetector_Enabled.


See Also
Color / Greyscale Grid structure / grid sensitivity Motion ratio Recording only when motion is detected Video noise TOnMotionDetected TOnMotionNotDetected MotionDetector_CellMotionRatio MotionDetector_CompareBlue MotionDetector_CompareGreen MotionDetector_CompareRed MotionDetector_Enabled MotionDetector_EnumGridDialogControls MotionDetector_Get2DTextGrid MotionDetector_Get2DTextMotion MotionDetector_GetCellLocation MotionDetector_GetCellSensitivity MotionDetector_GetCellSize MotionDetector_GloballyIncOrDecSensitivity MotionDetector_GlobalMotionRatio MotionDetector_GreyScale MotionDetector_Grid MotionDetector_GridXCount MotionDetector_GridYCount MotionDetector_IsGridValid MotionDetector_MaxDetectionsPerSecond MotionDetector_ReduceCPULoad MotionDetector_ReduceVideoNoise MotionDetector_Reset MotionDetector_ResetGlobalSensitivity MotionDetector_SetCellSensitivity MotionDetector_SetGridSize MotionDetector_ShowGridDialog MotionDetector_Triggered MotionDetector_UseThisReferenceSample OnBacktimedFramesCountReached OnMotionNotDetected RecordingOnMotion_Enabled RecordingOnMotion_MotionThreshold RecordingOnMotion_NoMotionPauseDelayMs