소스 검색

fix watchdog

Blake Blackshear 4 년 전
부모
커밋
fedeeab561
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      detect_objects.py

+ 1 - 1
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))