Refactor detector and model management

This commit is contained in:
Nicolas Mowen
2026-08-17 13:15:59 +00:00
parent b45f0cdf66
commit 4d834f7007
47 changed files with 1903 additions and 1066 deletions
+2 -2
View File
@@ -122,7 +122,7 @@ class ProcessClip:
self.camera_name,
self.frame_queue,
self.frame_shape,
self.config.model,
self.config.model_for_camera(self.camera_name),
self.camera_config.detect,
self.frame_manager,
motion_detector,
@@ -248,7 +248,7 @@ def process(path, label, output, debug_path):
json_config = {
"mqtt": {"enabled": False},
"detectors": {"coral": {"type": "edgetpu", "device": "usb"}},
"models": [{"devices": ["edgetpu:usb"]}],
"cameras": {
"camera": {
"ffmpeg": {