Adjust threshold and contour_area with mqtt

This commit is contained in:
Josh Hawkins
2022-04-27 09:52:45 -05:00
committed by Blake Blackshear
parent afe88d6e3a
commit 7845995dfd
6 changed files with 109 additions and 7 deletions

View File

@@ -95,6 +95,12 @@ class FrigateApp:
"improve_contrast_enabled": mp.Value(
"i", self.config.cameras[camera_name].motion.improve_contrast
),
"motion_threshold": mp.Value(
"i", self.config.cameras[camera_name].motion.threshold
),
"motion_contour_area": mp.Value(
"i", self.config.cameras[camera_name].motion.contour_area
),
"detection_fps": mp.Value("d", 0.0),
"detection_frame": mp.Value("d", 0.0),
"read_start": mp.Value("d", 0.0),