Accord.Vision.Tracking.Camshift.Reset C# (CSharp) Method

Reset() public method

Resets the object tracking algorithm.
public Reset ( ) : void
return void
        public void Reset()
        {
            this.unstableCounter = 0;

            this.originalHistogram = null;
            this.IsSteady = false;
            this.trackingObject.Reset();

            this.angleHistory.Clear();
            this.heightHistory.Clear();
            this.widthHistory.Clear();
            this.xHistory.Clear();
            this.yHistory.Clear();
        }