NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
More inference speed updates (#19947)
Nicolas Mowenc5ed95ec52bb
diff --git a/docs/docs/configuration/object_detectors.md b/docs/docs/configuration/object_detectors.mdindex 18dc683a93..b54d8797d2 100644--- a/docs/docs/configuration/object_detectors.md+++ b/docs/docs/configuration/object_detectors.md@@ -1040,7 +1040,7 @@ COPY --from=ghcr.io/astral-sh/uv:0.8.0 /uv /bin/WORKDIR /yolov9ADD https://github.com/WongKinYiu/yolov9.git .RUN uv pip install --system -r requirements.txt-RUN uv pip install --system onnx onnxruntime onnx-simplifier>=0.4.1+RUN uv pip install --system onnx==1.18.0 onnxruntime onnx-simplifier>=0.4.1ARG MODEL_SIZEADD https://github.com/WongKinYiu/yolov9/releases/download/v0.1/yolov9-${MODEL_SIZE}-converted.pt yolov9-${MODEL_SIZE}.ptRUN sed -i "s/ckpt = torch.load(attempt_download(w), map_location='cpu')/ckpt = torch.load(attempt_download(w), map_location='cpu', weights_only=False)/g" models/experimental.pydiff --git a/docs/docs/frigate/hardware.md b/docs/docs/frigate/hardware.mdindex 7e4c721ab7..9a0a6bcee2 100644--- a/docs/docs/frigate/hardware.md+++ b/docs/docs/frigate/hardware.md@@ -132,17 +132,19 @@ More information is available [in the detector docs](/configuration/object_detecInference speeds vary greatly depending on the CPU or GPU used, some known examples of GPU inference times are below:-| Name | MobileNetV2 Inference Time | YOLOv9 | YOLO-NAS Inference Time | RF-DETR Inference Time | Notes |-| -------------- | -------------------------- | -------------------------- | ------------------------- | ---------------------- | ---------------------------------- |-| Intel HD 530 | 15 - 35 ms | | | | Can only run one detector instance |-| Intel HD 620 | 15 - 25 ms | | 320: ~ 35 ms | | |-| Intel HD 630 | ~ 15 ms | | 320: ~ 30 ms | | |-| Intel UHD 730 | ~ 10 ms | | 320: ~ 19 ms 640: ~ 54 ms | | |-| Intel UHD 770 | ~ 15 ms | t-320: 24: ms s-320: 30 ms | 320: ~ 20 ms 640: ~ 46 ms | | |-| Intel N100 | ~ 15 ms | s-320: 30ms | 320: ~ 25 ms | | Can only run one detector instance |-| Intel Iris XE | ~ 10 ms | | 320: ~ 18 ms 640: ~ 50 ms | | |-| Intel Arc A380 | ~ 6 ms | | 320: ~ 10 ms 640: ~ 22 ms | 336: 20 ms 448: 27 ms | |-| Intel Arc A750 | ~ 4 ms | | 320: ~ 8 ms | | |+| Name | MobileNetV2 Inference Time | YOLOv9 | YOLO-NAS Inference Time | RF-DETR Inference Time | Notes |+| -------------- | -------------------------- | --------------------------------------- | ------------------------- | ---------------------- | ---------------------------------- |+| Intel HD 530 | 15 - 35 ms | | | | Can only run one detector instance |+| Intel HD 620 | 15 - 25 ms | | 320: ~ 35 ms | | |+| Intel HD 630 | ~ 15 ms | | 320: ~ 30 ms | | |+| Intel UHD 730 | ~ 10 ms | | 320: ~ 19 ms 640: ~ 54 ms | | |+| Intel UHD 770 | ~ 15 ms | t-320: 24 ms s-320: 30 ms s-640: 45 ms | 320: ~ 20 ms 640: ~ 46 ms | | |+| Intel N100 | ~ 15 ms | s-320: 30 ms | 320: ~ 25 ms | | Can only run one detector instance |+| Intel N150 | ~ 15 ms | t-320: 16ms s-320: 24 ms | | | |+| Intel Iris XE | ~ 10 ms | s-320: 12 ms s-640: 30 ms | 320: ~ 18 ms 640: ~ 50 ms | | |+| Intel Arc A310 | | s-320: 9 ms | | | |+| Intel Arc A380 | ~ 6 ms | | 320: ~ 10 ms 640: ~ 22 ms | 336: 20 ms 448: 27 ms | |+| Intel Arc A750 | ~ 4 ms | | 320: ~ 8 ms | | |### TensorRT - Nvidia GPU@@ -169,6 +171,7 @@ Inference speeds will vary greatly depending on the GPU and the model used.| Name | YOLOv9 Inference Time | YOLO-NAS Inference Time | RF-DETR Inference Time || --------------- | --------------------- | ------------------------- | ---------------------- |+| GTX 1070 | s-320: 16 ms | 320: 14 ms | || RTX 3050 | t-320: 15 ms | 320: ~ 10 ms 640: ~ 16 ms | Nano-320: ~ 12 ms || RTX 3070 | t-320: 11 ms | 320: ~ 8 ms 640: ~ 14 ms | Nano-320: ~ 9 ms || RTX A4000 | | 320: ~ 15 ms | |diff --git a/docs/docs/integrations/home-assistant.md b/docs/docs/integrations/home-assistant.mdindex 2ce09b275c..169a7ad31f 100644--- a/docs/docs/integrations/home-assistant.md+++ b/docs/docs/integrations/home-assistant.md@@ -185,6 +185,26 @@ For clips to be castable to media devices, audio is required and may need to be<a name="api"></a>+## Camera API++To disable a camera dynamically++```+action: camera.turn_off+data: {}+target:+ entity_id: camera.back_deck_cam # your Frigate camera entity ID+```++To enable a camera that has been disabled dynamically++```+action: camera.turn_on+data: {}+target:+ entity_id: camera.back_deck_cam # your Frigate camera entity ID+```+## Notification APIMany people do not want to expose Frigate to the web, so the integration creates some public API endpoints that can be used for notifications.diff --git a/docs/docs/plus/first_model.md b/docs/docs/plus/first_model.mdindex 7e483d402d..adec174d9f 100644--- a/docs/docs/plus/first_model.md+++ b/docs/docs/plus/first_model.md@@ -34,6 +34,12 @@ Model IDs are not secret values and can be shared freely. Access to your model i:::+:::tip++When setting the plus model id, all other fields should be removed as these are configured automatically with the Frigate+ model config++:::+## Step 4: Adjust your object filters for higher scoresFrigate+ models generally have much higher scores than the default model provided in Frigate. You will likely need to increase your `threshold` and `min_score` values. Here is an example of how these values can be refined, but you should expect these to evolve as your model improves. For more information about how `threshold` and `min_score` are related, see the docs on [object filters](../configuration/object_filters.md#object-scores).diff --git a/docs/docs/plus/index.md b/docs/docs/plus/index.mdindex fddd9ad5b4..fa8f86f9ca 100644--- a/docs/docs/plus/index.md+++ b/docs/docs/plus/index.md@@ -51,7 +51,7 @@ Currently, Frigate+ models support CPU (`cpu`), Google Coral (`edgetpu`), OpenVi| [Coral (all form factors)](/configuration/object_detectors.md#edge-tpu-detector) | `edgetpu` | `mobiledet` || [Intel](/configuration/object_detectors.md#openvino-detector) | `openvino` | `yolov9` || [NVidia GPU](/configuration/object_detectors#onnx) | `onnx` | `yolov9` |-| [AMD ROCm GPU](/configuration/object_detectors#amdrocm-gpu-detector) | `rocm` | `yolov9` |+| [AMD ROCm GPU](/configuration/object_detectors#amdrocm-gpu-detector) | `onnx` | `yolov9` || [Hailo8/Hailo8L/Hailo8R](/configuration/object_detectors#hailo-8) | `hailo8l` | `yolov9` || [Rockchip NPU](/configuration/object_detectors#rockchip-platform)\* | `rknn` | `yolov9` |