From e18a36df7d6595af67409f80344518d8d5683049 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Mon, 10 Feb 2025 13:40:32 -0700 Subject: [PATCH] Add note about other models --- docs/docs/configuration/object_detectors.md | 6 ++++++ frigate/video.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/docs/configuration/object_detectors.md b/docs/docs/configuration/object_detectors.md index cb9d8be80..c04b92474 100644 --- a/docs/docs/configuration/object_detectors.md +++ b/docs/docs/configuration/object_detectors.md @@ -521,6 +521,12 @@ model: [YOLOv9](https://github.com/MultimediaTechLab/YOLO) models are supported, but not included by default. +:::tip + +The YOLOv9 detector has been designed to support YOLOv9 models, but may support other YOLO model architectures as well. + +::: + After placing the downloaded onnx model in your config folder, you can use the following configuration: ```yaml diff --git a/frigate/video.py b/frigate/video.py index 3632a87e9..cb922500d 100755 --- a/frigate/video.py +++ b/frigate/video.py @@ -481,7 +481,7 @@ def detect( detect_config: DetectConfig, object_detector, frame, - model_config, + model_config: ModelConfig, region, objects_to_track, object_filters,