syntax error

This commit is contained in:
Blake Blackshear 2020-10-11 13:07:00 -05:00
parent 3e146de0a2
commit 9ecc80b443

View File

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