forked from Github/frigate
Allow improve_contrast to be toggled via mqtt (#3011)
* Toggle improve_contrast for cameras via MQTT * Process parameter to mqtt toggle improve_contrast * Update mqtt docs for improve_contrast topic * Spacing * Add class variable and update in process_frames * Pass to constructor * pass by reference mistake * remove parameter * remove parameter
This commit is contained in:
@@ -92,6 +92,9 @@ class FrigateApp:
|
||||
"detection_enabled": mp.Value(
|
||||
"i", self.config.cameras[camera_name].detect.enabled
|
||||
),
|
||||
"improve_contrast_enabled": mp.Value(
|
||||
"i", self.config.cameras[camera_name].motion.improve_contrast
|
||||
),
|
||||
"detection_fps": mp.Value("d", 0.0),
|
||||
"detection_frame": mp.Value("d", 0.0),
|
||||
"read_start": mp.Value("d", 0.0),
|
||||
|
||||
Reference in New Issue
Block a user