From c14a313c57ccf32497c9ada9ba027b290dd76a9b Mon Sep 17 00:00:00 2001 From: Erki Aas Date: Sun, 29 Sep 2024 23:06:41 +0300 Subject: [PATCH] frigate: enable recording and use openvino --- frigate/application.yml | 27 ++++++++++++++++++++++++--- frigate/values.yaml | 25 +++++++++++++++++++++++-- 2 files changed, 47 insertions(+), 5 deletions(-) diff --git a/frigate/application.yml b/frigate/application.yml index da37b5a..739dd15 100644 --- a/frigate/application.yml +++ b/frigate/application.yml @@ -25,8 +25,29 @@ data: # coral: # type: edgetpu # device: usb - cpu1: - type: cpu + #cpu1: + #type: cpu + ov: + type: openvino + device: CPU + + 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: + enabled: True + retain: + days: 3 + mode: motion + events: + retain: + default: 30 + mode: motion go2rtc: streams: @@ -169,7 +190,7 @@ spec: app.kubernetes.io/name: frigate app.kubernetes.io/instance: frigate annotations: - checksum/configmap: 80913561aaed42918e40c6c5e154c53747edaec0aa33f1cca2b3a43115815cb4 + checksum/configmap: a133d33879aa679164f4757e66467236f5aa19733c6bbaf2ac3e53e56e9a758b spec: containers: - name: frigate diff --git a/frigate/values.yaml b/frigate/values.yaml index 5fae1b0..664b1e7 100644 --- a/frigate/values.yaml +++ b/frigate/values.yaml @@ -63,8 +63,29 @@ config: | # coral: # type: edgetpu # device: usb - cpu1: - type: cpu + #cpu1: + #type: cpu + ov: + type: openvino + device: CPU + + 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: + enabled: True + retain: + days: 3 + mode: motion + events: + retain: + default: 30 + mode: motion go2rtc: streams: