mirror of https://bitbucket.org/ausocean/av.git
filter: circle-ci fix
This commit is contained in:
parent
36001c28b2
commit
36ca545636
|
@ -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) {
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue