Process new video frame.

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

Syntax

C#
public float ProcessFrame(
	BitmapData videoFrame
)

Parameters

videoFrame
Type: System.Drawing.Imaging..::.BitmapData
Video frame to process (detect motion in).

Return Value

Returns amount of motion, which is provided MotionLevel property of the motion detection algorithm in use.

Remarks

See ProcessFrame(UnmanagedImage) for additional details.

See Also