From 3e238bb676293f409c9ccfeb5f2dc8eee36a961f Mon Sep 17 00:00:00 2001 From: Ella Pietraroia Date: Tue, 31 Dec 2019 13:26:36 +1030 Subject: [PATCH] chaning parameters of filter --- revid/revid.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/revid/revid.go b/revid/revid.go index 33e3b498..5f4df7d8 100644 --- a/revid/revid.go +++ b/revid/revid.go @@ -336,7 +336,7 @@ func (r *Revid) setupPipeline(mtsEnc func(dst io.WriteCloser, rate float64) (io. case config.FilterVariableFPS: r.filter = filter.NewVariableFPSFilter(r.encoders, 1.0, filter.NewMOGFilter(r.encoders, 25, 20, 500, 3, true)) case config.FilterKNN: - r.filter = filter.NewKNNFilter(r.encoders, 25, 20, 500, 3, true) + r.filter = filter.NewKNNFilter(r.encoders, 25, 300, 300, 9, true) default: panic("Undefined Filter") }