Cv2UpdateMotionHistory Method OpenCvSharp Class Library
Updates motion history image using the current silhouette

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static void UpdateMotionHistory(
	InputArray silhouette,
	InputOutputArray mhi,
	double timestamp,
	double duration
)

Parameters

silhouette
Type: OpenCvSharp.CPlusPlusInputArray
Silhouette mask that has non-zero pixels where the motion occurs.
mhi
Type: OpenCvSharp.CPlusPlusInputOutputArray
Motion history image that is updated by the function (single-channel, 32-bit floating-point).
timestamp
Type: SystemDouble
Current time in milliseconds or other units.
duration
Type: SystemDouble
Maximal duration of the motion track in the same units as timestamp .
See Also

Reference