mirror of https://bitbucket.org/ausocean/av.git
commenting
This commit is contained in:
parent
c9dee735d4
commit
3851a20aa0
|
@ -40,8 +40,8 @@ import (
|
|||
// MOGFilter is a filter that provides basic motion detection. MoG is short for
|
||||
// Mixture of Gaussians method.
|
||||
type MOGFilter struct {
|
||||
dst io.WriteCloser // Writer and closer interface.
|
||||
area float64 // Minimum area that motion.
|
||||
dst io.WriteCloser // Destination to which motion containing frames go.
|
||||
area float64 // The minimum area that a contour can be found in.
|
||||
bs *gocv.BackgroundSubtractorMOG2 // Uses the MOG algorithm to find the difference between the current and background frame.
|
||||
knl gocv.Mat // Matrix that is used for calculations.
|
||||
debug bool // If true then debug windows with the bounding boxes and difference will be shown on the screen.
|
||||
|
|
Loading…
Reference in New Issue