Initializes a new instance of the MotionDetector class.

Namespace:  AForge.Vision.Motion
Assembly:  AForge.Vision (in AForge.Vision.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public MotionDetector(
	IMotionDetector detector,
	IMotionProcessing processor
)

Parameters

detector
Type: AForge.Vision.Motion..::.IMotionDetector
Motion detection algorithm to apply to each video frame.
processor
Type: AForge.Vision.Motion..::.IMotionProcessing
Motion processing algorithm to apply to each video frame after motion detection is done.

See Also