From 9ee31a2446a309bc90687b7a06b3d6fbe23e819a Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Tue, 7 Jan 2025 15:28:30 -0700 Subject: [PATCH] Cleanup docs --- docs/docs/configuration/index.md | 3 +-- docs/docs/configuration/object_detectors.md | 10 +++++----- docs/docs/configuration/reference.md | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/docs/docs/configuration/index.md b/docs/docs/configuration/index.md index a0b58558d..a60da3499 100644 --- a/docs/docs/configuration/index.md +++ b/docs/docs/configuration/index.md @@ -203,14 +203,13 @@ detectors: ov: type: openvino device: AUTO - model: - path: /openvino-model/ssdlite_mobilenet_v2.xml model: width: 300 height: 300 input_tensor: nhwc input_pixel_format: bgr + path: /openvino-model/ssdlite_mobilenet_v2.xml labelmap_path: /openvino-model/coco_91cl_bkgr.txt record: diff --git a/docs/docs/configuration/object_detectors.md b/docs/docs/configuration/object_detectors.md index e06baaad5..3e03daab3 100644 --- a/docs/docs/configuration/object_detectors.md +++ b/docs/docs/configuration/object_detectors.md @@ -144,7 +144,7 @@ detectors: #### SSDLite MobileNet v2 -An OpenVINO model is provided in the container at `/openvino-model/ssdlite_mobilenet_v2.xml` and is used by this detector type by default. The model comes from Intel's Open Model Zoo [SSDLite MobileNet V2](https://github.com/openvinotoolkit/open_model_zoo/tree/master/models/public/ssdlite_mobilenet_v2) and is converted to an FP16 precision IR model. +An OpenVINO model is provided in the container at `/openvino-model/ssdlite_mobilenet_v2.xml` and is used by this detector type by default. The model comes from Intel's Open Model Zoo [SSDLite MobileNet V2](https://github.com/openvinotoolkit/open_model_zoo/tree/master/models/public/ssdlite_mobilenet_v2) and is converted to an FP16 precision IR model. Use the model configuration shown below when using the OpenVINO detector with the default OpenVINO model: @@ -506,11 +506,12 @@ detectors: cpu1: type: cpu num_threads: 3 - model: - path: "/custom_model.tflite" cpu2: type: cpu num_threads: 3 + +model: + path: "/custom_model.tflite" ``` When using CPU detectors, you can add one CPU detector per camera. Adding more detectors than the number of cameras should not improve performance. @@ -637,8 +638,6 @@ detectors: hailo8l: type: hailo8l device: PCIe - model: - path: /config/model_cache/h8l_cache/ssd_mobilenet_v1.hef model: width: 300 @@ -646,4 +645,5 @@ model: input_tensor: nhwc input_pixel_format: bgr model_type: ssd + path: /config/model_cache/h8l_cache/ssd_mobilenet_v1.hef ``` diff --git a/docs/docs/configuration/reference.md b/docs/docs/configuration/reference.md index 7f3164369..0c2dbdd12 100644 --- a/docs/docs/configuration/reference.md +++ b/docs/docs/configuration/reference.md @@ -52,7 +52,7 @@ detectors: # Required: name of the detector detector_name: # Required: type of the detector - # Frigate provided types include 'cpu', 'edgetpu', 'openvino' and 'tensorrt' (default: shown below) + # Frigate provides many types, see https://docs.frigate.video/configuration/object_detectors for more details (default: shown below) # Additional detector types can also be plugged in. # Detectors may require additional configuration. # Refer to the Detectors configuration page for more information.