diff --git a/revid/revid.go b/revid/revid.go index 31d474e7..7fdb3cae 100644 --- a/revid/revid.go +++ b/revid/revid.go @@ -348,7 +348,6 @@ func (r *Revid) setupPipeline(mtsEnc func(dst io.WriteCloser, rate float64) (io. r.filters[i] = filter.NewKNNFilter(dst, r.cfg.KNNMinArea, r.cfg.KNNThreshold, int(r.cfg.KNNHistory), int(r.cfg.KNNKernel), r.cfg.ShowWindows, r.cfg.MotionInterval) case config.FilterDifference: r.filters[i] = filter.NewDifference(dst, r.cfg.ShowWindows, r.cfg.DiffThreshold) - r.filters[i] = filter.NewKNNFilter(dst, knnMinArea, knnThreshold, knnHistory, knnKernel, r.cfg.ShowWindows) case config.FilterBasic: r.filters[i] = filter.NewBasicFilter(dst, r.cfg.ShowWindows) default: