We add the function of the tracking, where the detection is applied every interval, within each interval, the tracker is applied. Thus the detector is used to initialize and validate the tracker. However, notice that, the tracker currently doesn't update the size of the window.