mirror of https://bitbucket.org/ausocean/av.git
chaning parameters of filter
This commit is contained in:
parent
0da2d3182a
commit
197fbcf242
|
@ -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")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue