Refactor detector and model management (#23995)

* Refactor detector and model management

* Fix model resolution field
This commit is contained in:
Nicolas Mowen
2026-08-22 11:40:42 -05:00
committed by Josh Hawkins
parent 7b42d94bfe
commit 5c9c02002f
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": {