From 3851a20aa05c94536895ff3b88c5a35af0a9a520 Mon Sep 17 00:00:00 2001 From: Ella Pietraroia Date: Wed, 22 Jan 2020 16:04:16 +1030 Subject: [PATCH] commenting --- filter/mog.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.