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,