diff --git a/filter/filters_circleci.go b/filter/filters_circleci.go index e3554511..eba06743 100644 --- a/filter/filters_circleci.go +++ b/filter/filters_circleci.go @@ -31,12 +31,12 @@ import ( "io" ) -// NewMOGFilter returns a pointer to a new NoOp struct for testing purposes only. +// NewMOG returns a pointer to a new NoOp struct for testing purposes only. func NewMOG(dst io.WriteCloser, area, threshold float64, history int, debug bool, hf int) *NoOp { return &NoOp{dst: dst} } -// NewKNNFilter returns a pointer to a new NoOp struct for testing purposes only. +// NewKNN returns a pointer to a new NoOp struct for testing purposes only. func NewKNN(dst io.WriteCloser, area, threshold float64, history, kernelSize int, debug bool, hf int) *NoOp { return &NoOp{dst: dst} } diff --git a/filter/mog.go b/filter/mog.go index 5cbbc883..80706ecf 100644 --- a/filter/mog.go +++ b/filter/mog.go @@ -51,7 +51,7 @@ type MOG struct { hfCount int // Counter for the hold array. } -// NewMOG returns a pointer to a new MOGFilter struct. +// NewMOG returns a pointer to a new MOG filter struct. func NewMOG(dst io.WriteCloser, area, threshold float64, history int, debug bool, hf int) *MOG { bs := gocv.NewBackgroundSubtractorMOG2WithParams(history, threshold, false) k := gocv.GetStructuringElement(gocv.MorphRect, image.Pt(3, 3))