From 97ce7f302821481f5633724b270f84575f4913cc Mon Sep 17 00:00:00 2001 From: Blake Blackshear Date: Tue, 19 Jan 2021 07:40:51 -0600 Subject: [PATCH] initialize detection correctly from config --- frigate/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/app.py b/frigate/app.py index cd212d305..5132b70be 100644 --- a/frigate/app.py +++ b/frigate/app.py @@ -74,7 +74,7 @@ class FrigateApp(): 'camera_fps': mp.Value('d', 0.0), 'skipped_fps': mp.Value('d', 0.0), 'process_fps': mp.Value('d', 0.0), - 'detection_enabled': mp.Value('i', 1), + 'detection_enabled': mp.Value('i', self.config.cameras[camera_name].detect.enabled), 'detection_fps': mp.Value('d', 0.0), 'detection_frame': mp.Value('d', 0.0), 'read_start': mp.Value('d', 0.0),