Refactor detector and model management (#23995)

* Refactor detector and model management

* Fix model resolution field
This commit is contained in:
Nicolas Mowen
2026-09-12 07:30:04 -06:00
parent fd76eb6c6f
commit 8fe35ace3b
63 changed files with 2052 additions and 1152 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": {