mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-04 12:37:43 +03:00
Fix code comment
This commit is contained in:
parent
3432907c89
commit
9ef3fdbfe7
@ -197,7 +197,7 @@ class ImprovedMotionDetector(MotionDetector):
|
|||||||
motion_boxes = [] # ignore small movements
|
motion_boxes = [] # ignore small movements
|
||||||
self.calibrating = False
|
self.calibrating = False
|
||||||
|
|
||||||
# if calibrating or the motion contours are > 80% of the image area (lightning, ir, ptz) recalibrate
|
# if the motion contours are > 80% of the image area (lightning, ir, ptz) recalibrate
|
||||||
if not self.calibrating and pct_motion > self.config.lightning_threshold:
|
if not self.calibrating and pct_motion > self.config.lightning_threshold:
|
||||||
self.calibrating = True
|
self.calibrating = True
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user