From fd8e2e2426d972cf731e1c5c16abec2d50c34d73 Mon Sep 17 00:00:00 2001 From: Ella Pietraroia Date: Wed, 22 Jan 2020 15:25:34 +1030 Subject: [PATCH] full stops --- filter/mog.go | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/filter/mog.go b/filter/mog.go index 35c3046a..b83b039c 100644 --- a/filter/mog.go +++ b/filter/mog.go @@ -40,15 +40,15 @@ 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 - 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 - windows []*gocv.Window //holds debug windows - hold [][]byte //will hold all frames up to hf (so only every hf frame is motion detected) - hf int //the number of frames to be held - hfCount int //counter for the hold array + dst io.WriteCloser //writer and closer interface. + area float64 //minimum area that motion. + 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. + windows []*gocv.Window //holds debug windows. + hold [][]byte //will hold all frames up to hf (so only every hf frame is motion detected). + hf int //the number of frames to be held. + hfCount int //counter for the hold array. } // NewMOGFilter returns a pointer to a new MOGFilter struct.