diff --git a/filter/mog.go b/filter/mog.go index ca318140..20fd5807 100644 --- a/filter/mog.go +++ b/filter/mog.go @@ -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.