diff --git a/docs/docs/configuration/detectors.md b/docs/docs/configuration/detectors.md index 43a09d33c..63dd7299f 100644 --- a/docs/docs/configuration/detectors.md +++ b/docs/docs/configuration/detectors.md @@ -77,3 +77,33 @@ detectors: ``` When using CPU detectors, you can add a CPU detector per camera. Adding more detectors than the number of cameras should not improve performance. + +## OpenVino + +The OpenVino detector allows Frigate to run an OpenVino IR model on Intel CPU, GPU and VPU hardware. + +### OpenVino Devices + +The OpenVino detector supports the Intel-supplied device plugins and can specify one or more devices in the configuration. See OpenVino's device naming conventions in the [Device Documentation](https://docs.openvino.ai/latest/openvino_docs_OV_UG_Working_with_devices.html) for more detail. Other supported devices could be `AUTO`, `CPU`, `GPU`, etc. + +```yaml +detectors: + ov_detector: + type: openvino + device: GPU +``` + +### OpenVino Models + +The included model for an OpenVino detector 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. + +```yaml +model: + path: /openvino-model/ssdlite_mobilenet_v2.xml + width: 300 + height: 300 + input_tensor: [B, H, W, C] + input_pixel_format: "bgr" + labelmap_path: /openvino-model/coco_91cl_bkgr.txt + +``` diff --git a/docs/docs/configuration/index.md b/docs/docs/configuration/index.md index a550f4de6..f721a5d03 100644 --- a/docs/docs/configuration/index.md +++ b/docs/docs/configuration/index.md @@ -76,9 +76,9 @@ detectors: # Required: name of the detector coral: # Required: type of the detector - # Valid values are 'edgetpu' (requires device property below) and 'cpu'. + # Valid values are 'edgetpu' (requires device property below) `openvino` (see Detectors documentation), and 'cpu'. type: edgetpu - # Optional: device name as defined here: https://coral.ai/docs/edgetpu/multiple-edgetpu/#using-the-tensorflow-lite-python-api + # Optional: Edgetpu or OpenVino device name device: usb # Optional: num_threads value passed to the tflite.Interpreter (default: shown below) # This value is only used for CPU types