diff --git a/filter/filters_circleci.go b/filter/filters_circleci.go index b5286f97..b6ebcc70 100644 --- a/filter/filters_circleci.go +++ b/filter/filters_circleci.go @@ -35,3 +35,7 @@ import ( func NewMOGFilter(dst io.WriteCloser, area, threshold float64, history, kernelSize int, debug bool) *NoOp { return &NoOp{dst: dst} } + +func NewKNNFilter(dst io.WriteCloser, area, threshold float64, history, kernelSize int, debug bool) *KNNFilter { + return &NoOp{dst: dst} +} diff --git a/filter/knn.go b/filter/knn.go index 3e494253..d4eb13ed 100644 --- a/filter/knn.go +++ b/filter/knn.go @@ -1,4 +1,6 @@ /* +// +build !circleci + DESCRIPTION A filter that detects motion and discards frames without motion. The filter uses a K-Nearest Neighbours (KNN) to determine what is