Click or drag to resize
Accord.NET (logo)

MotionAreaHighlightingProcessFrame Method

Process video and motion frames doing further post processing after performed motion detection.

Namespace:  Accord.Vision.Motion
Assembly:  Accord.Vision (in Accord.Vision.dll) Version: 3.8.0
Syntax
public void ProcessFrame(
	UnmanagedImage videoFrame,
	UnmanagedImage motionFrame
)
Request Example View Source

Parameters

videoFrame
Type: Accord.ImagingUnmanagedImage
Original video frame.
motionFrame
Type: Accord.ImagingUnmanagedImage
Motion frame provided by motion detection algorithm (see IMotionDetector).

Implements

IMotionProcessingProcessFrame(UnmanagedImage, UnmanagedImage)
Exceptions
ExceptionCondition
InvalidImagePropertiesExceptionMotion frame is not 8 bpp image, but it must be so.
UnsupportedImageFormatExceptionVideo frame must be 8 bpp grayscale image or 24/32 bpp color image.
Remarks

Processes provided motion frame and highlights motion areas on the original video frame with specified color.

See Also