chaning parameters of filter

This commit is contained in:
Ella Pietraroia 2019-12-31 13:26:36 +10:30
parent 8f3faeb197
commit 3e238bb676
1 changed files with 1 additions and 1 deletions

View File

@ -336,7 +336,7 @@ func (r *Revid) setupPipeline(mtsEnc func(dst io.WriteCloser, rate float64) (io.
case config.FilterVariableFPS: case config.FilterVariableFPS:
r.filter = filter.NewVariableFPSFilter(r.encoders, 1.0, filter.NewMOGFilter(r.encoders, 25, 20, 500, 3, true)) r.filter = filter.NewVariableFPSFilter(r.encoders, 1.0, filter.NewMOGFilter(r.encoders, 25, 20, 500, 3, true))
case config.FilterKNN: 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: default:
panic("Undefined Filter") panic("Undefined Filter")
} }