From fedeeab561d26433ff39b5acc396ac59c88d2338 Mon Sep 17 00:00:00 2001 From: Blake Blackshear Date: Wed, 9 Sep 2020 06:24:46 -0500 Subject: [PATCH] fix watchdog --- detect_objects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/detect_objects.py b/detect_objects.py index 822c27c5c..82ad5f3c9 100644 --- a/detect_objects.py +++ b/detect_objects.py @@ -118,7 +118,7 @@ class CameraWatchdog(threading.Thread): camera_process['process_fps'].value = 0.0 camera_process['detection_fps'].value = 0.0 camera_process['read_start'].value = 0.0 - process = mp.Process(target=track_camera, args=(name, self.config[name], GLOBAL_OBJECT_CONFIG, camera_process['frame_queue'], + process = mp.Process(target=track_camera, args=(name, self.config[name], camera_process['frame_queue'], camera_process['frame_shape'], self.tflite_process.detection_queue, self.tracked_objects_queue, camera_process['process_fps'], camera_process['detection_fps'], camera_process['read_start'], camera_process['detection_frame'], self.stop_event))