Click or drag to resize
Accord.NET (logo)

CustomFrameDifferenceDetectorReset Method

Reset motion detector to initial state.

Namespace:  Accord.Vision.Motion
Assembly:  Accord.Vision (in Accord.Vision.dll) Version: 3.8.0
Syntax
public void Reset()
Request Example View Source

Implements

IMotionDetectorReset
Remarks

Resets internal state and variables of motion detection algorithm. Usually this is required to be done before processing new video source, but may be also done at any time to restart motion detection algorithm.

Note Note
In the case if custom background frame was set using SetBackgroundFrame(Bitmap) method, this method does not reset it. The method resets only automatically generated background frame.

See Also