diff --git a/apps/home/frigate/base/cm.yaml b/apps/home/frigate/base/cm.yaml index 5dd825ace..e4fe7f44c 100644 --- a/apps/home/frigate/base/cm.yaml +++ b/apps/home/frigate/base/cm.yaml @@ -14,8 +14,12 @@ data: - detect mqtt: enabled: False + snapshots: + enabled: True + retain: + default: 30 model: - path: /trt-models/yolov7-tiny-416.trt + path: /config/model_cache/tensorrt/yolov7-tiny-416.trt input_tensor: nchw input_pixel_format: rgb width: 416 @@ -23,13 +27,11 @@ data: ffmpeg: global_args: -hide_banner hwaccel_args: preset-nvidia-h264 #preset-vaapi - input_args: preset-rtsp-restream + input_args: preset-rtsp-generic output_args: record: -f segment -segment_time 60 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an detect: -f rawvideo -pix_fmt yuv420p detectors: - detector_name: - type: tensorrt tensorrt: type: tensorrt database: @@ -47,20 +49,6 @@ data: mode: motion export: timelapse_args: "-vf setpts=0.04*PTS -r 30" - detect: - width: 1280 - height: 720 - fps: 3 - enabled: True - min_initialized: 2 - max_disappeared: 25 - stationary: - interval: 50 - threshold: 50 - max_frames: - default: 3000 - objects: - person: 1000 motion: threshold: 30 lightning_threshold: 0.8 diff --git a/apps/home/frigate/base/deployment.yaml b/apps/home/frigate/base/deployment.yaml index d718cd526..62093a9a1 100644 --- a/apps/home/frigate/base/deployment.yaml +++ b/apps/home/frigate/base/deployment.yaml @@ -26,6 +26,8 @@ spec: value: "all" - name: NVIDIA_DRIVER_CAPABILITIES value: "all" + - name: "YOLO_MODELS" + value: yolov7-tiny-416 envFrom: - secretRef: name: frigate-vars