src/Foundation/Media/Gimela.Media.Vision.Motion/MotionDetector.cs
/// <summary>
/// Reset motion detector to initial state.
/// </summary>
/// 
/// <remarks><para>The method resets motion detection and motion processing algotithms by calling
/// their <see cref="IMotionDetector.Reset"/> and <see cref="IMotionProcessing.Reset"/> methods.</para>
/// </remarks>
/// 
Reset motion detector to initial state.
Reset motion detector to initial state .
public void Reset()
    {
      lock (sync)
      {
        if (detector != null)
        {
          detector.Reset();
        }
        if (processor != null)
        {
          processor.Reset();
        }
        videoWidth = 0;
        videoHeight = 0;
        if (zonesFrame != null)
        {
          zonesFrame.Dispose();
          zonesFrame = null;
        }
      }
    }
public void Reset ( ) { lock ( sync ) { if ( detector != null ) { detector . Reset ( ) ; } if ( processor != null ) { processor . Reset ( ) ; } videoWidth = 0 ; videoHeight = 0 ; if ( zonesFrame != null ) { zonesFrame . Dispose ( ) ; zonesFrame = null ; } } }
Reset motion detector to initial state.
Reset motion detector to initial state .
remarks
The method resets motion detection and motion processing algotithms by calling
their  and  methods.
The method resets motion detection and motion processing algotithms by calling their and methods .