From 81c5b96ed7fdc31aea83d4c11031cc9e2b278e5b Mon Sep 17 00:00:00 2001 From: Blake Blackshear Date: Fri, 21 Feb 2020 20:59:11 -0600 Subject: [PATCH] fix watchdog restart --- detect_objects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/detect_objects.py b/detect_objects.py index c61240fc0..17160c1a7 100644 --- a/detect_objects.py +++ b/detect_objects.py @@ -87,7 +87,7 @@ class CameraWatchdog(threading.Thread): camera_process['skipped_fps'].value = 0.0 process = mp.Process(target=track_camera, args=(name, self.config[name], FFMPEG_DEFAULT_CONFIG, GLOBAL_OBJECT_CONFIG, self.tflite_process.detect_lock, self.tflite_process.detect_ready, self.tflite_process.frame_ready, self.tracked_objects_queue, - camera_process['fps'], camera_process['skipped_fps'])) + camera_process['fps'], camera_process['skipped_fps'], camera_process['detection_fps'])) process.daemon = True camera_process['process'] = process process.start()