NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
Improve rf-detr export (#20485)
Nicolas Mowene0a8445bac5d
diff --git a/docs/docs/configuration/object_detectors.md b/docs/docs/configuration/object_detectors.mdindex 1e68d6ff44..6d5ea07c86 100644--- a/docs/docs/configuration/object_detectors.md+++ b/docs/docs/configuration/object_detectors.md@@ -1012,9 +1012,9 @@ FROM python:3.11 AS buildRUN apt-get update && apt-get install --no-install-recommends -y libgl1 && rm -rf /var/lib/apt/lists/*COPY --from=ghcr.io/astral-sh/uv:0.8.0 /uv /bin/WORKDIR /rfdetr-RUN uv pip install --system rfdetr onnx onnxruntime onnxsim onnx-graphsurgeon+RUN uv pip install --system rfdetr[onnxexport]ARG MODEL_SIZE-RUN python3 -c "from rfdetr import RFDETR${MODEL_SIZE}; x = RFDETR${MODEL_SIZE}(resolution=320); x.export()"+RUN python3 -c "from rfdetr import RFDETR${MODEL_SIZE}; x = RFDETR${MODEL_SIZE}(resolution=320); x.export(simplify=True)"FROM scratchARG MODEL_SIZECOPY --from=build /rfdetr/output/inference_model.onnx /rfdetr-${MODEL_SIZE}.onnx