소스 검색

update default detectors

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

+ 1 - 1
detect_objects.py

@@ -61,7 +61,7 @@ FFMPEG_DEFAULT_CONFIG = {
 GLOBAL_OBJECT_CONFIG = CONFIG.get('objects', {})
 
 WEB_PORT = CONFIG.get('web_port', 5000)
-DETECTORS = CONFIG.get('detectors', [{'type': 'edgetpu', 'device': 'usb'}])
+DETECTORS = CONFIG.get('detectors', {'coral' {'type': 'edgetpu', 'device': 'usb'}})
 
 class CameraWatchdog(threading.Thread):
     def __init__(self, camera_processes, config, detectors, detection_queue, tracked_objects_queue, stop_event):