filter: circle-ci fix

This commit is contained in:
Scott 2020-02-07 11:47:36 +10:30
parent 36001c28b2
commit 36ca545636
1 changed files with 14 additions and 0 deletions

View File

@ -28,6 +28,7 @@ LICENSE
package filter
import (
"image"
"io"
)
@ -45,3 +46,16 @@ func NewKNN(dst io.WriteCloser, area, threshold float64, history, kernelSize int
func NewDifference(dst io.WriteCloser, threshold float64) *NoOp {
return &NoOp{dst: dst}
}
// debugWindows is used for displaying debug information for the motion filters.
type debugWindows struct{}
// close frees resources used by gocv.
func (d *debugWindows) close() error { return nil }
// newWindows creates debugging windows for the motion filter.
func newWindows(name string) debugWindows { return debugWindows{} }
// show displays debug information for the motion filters.
func (d *debugWindows) show(img, imgDelta interface{}, motion bool, contours *[][]image.Point, text ...string) {
}