From 48946ba79f5b88e081962053d4f1517a9510069d Mon Sep 17 00:00:00 2001 From: James Andariese Date: Sun, 24 Dec 2023 14:00:17 -0600 Subject: [PATCH] finish deploying Cammy --- frigate/values.yaml | 52 +++++++++++++++++++++++++++++++++++++++------ 1 file changed, 46 insertions(+), 6 deletions(-) diff --git a/frigate/values.yaml b/frigate/values.yaml index 30da3df..6814038 100644 --- a/frigate/values.yaml +++ b/frigate/values.yaml @@ -9,6 +9,14 @@ config: | ffmpeg: hwaccel_args: preset-nvidia-h264 + go2rtc: + rtsp: + username: "${FRIGATE_RTSP_USER}" + password: "${FRIGATE_RTSP_PASSWORD}" + streams: + cammy: + - "rtsp://{FRIGATE_RTSP_USER}:{FRIGATE_RTSP_PASSWORD}@172.28.2.2:554" + mqtt: enabled: True user: "{FRIGATE_MQTT_USER}" @@ -28,17 +36,49 @@ config: | cameras: cammy: # <------ Name the camera ffmpeg: + output_args: + record: preset-record-generic-audio-copy inputs: - - path: "rtsp://{FRIGATE_RTSP_USER}:{FRIGATE_RTSP_PASSWORD}@172.28.2.2:554" + - path: "rtsp://{FRIGATE_RTSP_USER}:{FRIGATE_RTSP_PASSWORD}@127.0.0.1:8554/cammy" + input_args: preset-rtsp-restream roles: - record - - path: "rtsp://{FRIGATE_RTSP_USER}:{FRIGATE_RTSP_PASSWORD}@172.28.2.2:554/cam/realmonitor?channel=1&subtype=0" - roles: - detect + #- path: "rtsp://{FRIGATE_RTSP_USER}:{FRIGATE_RTSP_PASSWORD}@172.28.2.2:554/cam/realmonitor?channel=1&subtype=0" + # roles: + # - detect + # - record detect: - enabled: False # <---- disable detection until you have a working camera feed - width: 640 # <---- update for your camera's resolution - height: 480 # <---- update for your camera's resolution + enabled: True # <---- disable detection until you have a working camera feed + width: 2592 # <---- update for your camera's resolution + height: 1944 # <---- update for your camera's resolution + live: + stream_name: cammy + objects: + track: + - person + - car + - dog + filters: + person: + mask: 1869,962,1672,667 + motion: + mask: + - 2592,0,2592,566,1811,389,1735,204,1802,69,1865,86,1909,59,1874,0 + zones: + left_street: + coordinates: 0,366,535,263,1337,244,1284,440,697,413,0,503 + sidewalk: + coordinates: 747,629,0,676,0,775,1491,733,1617,678,1756,703,2211,741,2183,682,1869,644 + steps: + coordinates: 2592,1531,2314,1472,1613,1004,1404,1002,1724,1944,2592,1944 + record: + events: + required_zones: + - steps + - sidewalk + - left_street + detectors: tensorrt: