Fix code comment

This commit is contained in:
p-boon 2025-02-25 14:50:24 +01:00
parent 3432907c89
commit 9ef3fdbfe7

View File

@ -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