CCCPaste

Frigate config yolov9s

mqtt:
 host: 192.168.0.3
 user: user
 password: pass


environment_vars:
 OPENAI_BASE_URL: https://openrouter.ai/api/v1
#  LIBVA_DRIVER_NAME: iHD
ffmpeg:
 hwaccel_args: preset-intel-qsv-h264


model:
 path: plus://key


ui:
 time_format: 24hour
 strftime_fmt: '%A %H:%M %d.%m.%Y'


database:
 path: /config/frigate.db


go2rtc:
 streams:
   E1Zoom:
     - rtsp://user:[email protected]:554/Preview_07_main
   E1Zoom_sub:
     - rtsp://user:[email protected]:554/Preview_07_sub
   Eliana:
     - rtsp://user:[email protected]:554/Preview_08_main
   Eliana_sub:
     - rtsp://user:[email protected]:554/Preview_08_sub
   Interfon:
     - ffmpeg:rtsp://user:[email protected]:554/Streaming/Channels/101/#video=copy#audio=aac
   Interfon_sub:
     - rtsp://user:[email protected]:554/Streaming/Channels/102/
   NVR1:
     - ffmpeg:http://192.168.0.8/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=user&password=pass#video=copy#audio=copy
   NVR1_sub:
     - ffmpeg:http://192.168.0.8/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=user&password=pass#video=copy#audio=copy
   NVR2:
     - ffmpeg:http://192.168.0.8/flv?port=1935&app=bcs&stream=channel1_main.bcs&user=user&password=pass#video=copy#audio=copy
   NVR2_sub:
     - ffmpeg:http://192.168.0.8/flv?port=1935&app=bcs&stream=channel1_ext.bcs&user=user&password=pass#video=copy#audio=copy
   NVR3:
     - ffmpeg:http://192.168.0.8/flv?port=1935&app=bcs&stream=channel2_main.bcs&user=user&password=pass#video=copy#audio=copy
   NVR3_sub:
     - ffmpeg:http://192.168.0.8/flv?port=1935&app=bcs&stream=channel2_ext.bcs&user=user&password=pass#video=copy#audio=copy
   NVR4:
     - ffmpeg:http://192.168.0.8/flv?port=1935&app=bcs&stream=channel3_main.bcs&user=user&password=pass#video=copy#audio=copy
   NVR4_sub:
     - ffmpeg:http://192.168.0.8/flv?port=1935&app=bcs&stream=channel3_ext.bcs&user=user&password=pass#video=copy#audio=copy
   NVR5:
     - ffmpeg:http://192.168.0.8/flv?port=1935&app=bcs&stream=channel4_main.bcs&user=user&password=pass#video=copy#audio=copy
   NVR5_sub:
     - ffmpeg:http://192.168.0.8/flv?port=1935&app=bcs&stream=channel4_ext.bcs&user=user&password=pass#video=copy#audio=copy
   NVR6:
     - ffmpeg:http://192.168.0.8/flv?port=1935&app=bcs&stream=channel5_main.bcs&user=user&password=pass#video=copy#audio=copy
   NVR6_sub:
     - ffmpeg:http://192.168.0.8/flv?port=1935&app=bcs&stream=channel5_ext.bcs&user=user&password=pass#video=copy#audio=copy
birdseye:
 enabled: false
cameras:
 Interfon:
   ffmpeg:
     output_args:
       record: preset-record-generic-audio-aac
     inputs:
       - path: rtsp://127.0.0.1:8554/Interfon
         input_args: preset-rtsp-restream
         roles:
           - detect
       - path: rtsp://127.0.0.1:8554/Interfon?video&audio
         input_args: preset-rtsp-restream
         roles:
           - record
   record:
     enabled: true
     retain:
       days: 7
       mode: motion
     alerts:
       retain:
         days: 14
         mode: motion
     detections:
       retain:
         days: 7
         mode: motion
   snapshots:
     enabled: true
   objects:
     track:
       - person
       - car
       - cat
       - dog
       - license_plate
       - face
     filters:
       dog:
         min_score: .7
         threshold: .9
         mask:
           - 0,753,212,787,516,817,832,832,1110,825,1676,781,1920,739,1920,0,0,0
       cat:
         min_score: .65
         threshold: .8
       face:
         min_score: .7
       license_plate:
         min_score: .6
       person:
         min_score: .65
         threshold: .85
         mask:
           0,0.698,0.167,0.736,0.31,0.764,0.402,0.765,0.526,0.768,0.64,0.764,0.795,0.737,0.799,0.537,0.886,0.532,0.879,0.721,0.87,0.72,1,0.672,1,0,0,0
       car:
         min_score: .65
         threshold: .85
         mask:
           - 0,753,212,787,516,817,832,832,1110,825,1676,781,1920,739,1920,0,0,0
   motion:
     mask:
       0.16,0.124,0.554,0.103,0.574,0.191,0.916,0.229,0.953,0.176,0.968,0.091,0.961,0,0.367,0,0,0,0,0.392,0.066,0.389,0.091,0.379,0.095,0.277,0.083,0.245,0.068,0.233
   review:
     alerts:
       required_zones:
         - InterfonLoiter
   zones:
     InterfonLoiter:
       coordinates:
         0,0.698,0,1,1,1,1,0.687,0.895,0.72,0.59,0.768,0.416,0.771,0.202,0.746
       inertia: 3
       loitering_time: 20
       objects: person
   live:
     streams:
       Main: Interfon
       Sub: Interfon_sub
 NVR1:
   enabled: true
   ffmpeg:
     output_args:
       record: preset-record-generic-audio-copy
     inputs:
       - path: rtsp://127.0.0.1:8554/NVR1
         input_args: preset-rtsp-restream
         roles:
           - detect
       - path: rtsp://127.0.0.1:8554/NVR1_sub
         input_args: preset-rtsp-restream
         roles:
           - record
   record:
     enabled: true
     retain:
       days: 0
     alerts:
       retain:
         days: 14
         mode: motion
     detections:
       retain:
         days: 14
         mode: motion
   snapshots:
     enabled: true
   motion:
     mask: 0.564,0.004,0.564,0.043,0.596,0.045,0.596,0.001
   objects:
     track:
       - person
       - car
       - cat
       - dog
       - license_plate
       - face
     filters:
       dog:
         min_score: .7
         threshold: .9
       cat:
         min_score: .65
         threshold: .8
       face:
         min_score: .7
       license_plate:
         min_score: .6
       person:
         min_score: .65
         threshold: .85
       car:
         min_score: .65
         threshold: .85
   live:
     streams:
       Sub: NVR1_sub
       Main: NVR1
   zones: {}
 NVR2:
   enabled: true
   ffmpeg:
     output_args:
       record: preset-record-generic-audio-copy
     inputs:
       - path: rtsp://127.0.0.1:8554/NVR2
         input_args: preset-rtsp-restream
         roles:
           - detect
       - path: rtsp://127.0.0.1:8554/NVR2_sub
         input_args: preset-rtsp-restream
         roles:
           - record
   record:
     enabled: true
     retain:
       days: 0
     alerts:
       retain:
         days: 14
         mode: motion
     detections:
       retain:
         days: 14
         mode: motion
   snapshots:
     enabled: true
   motion:
     mask: 0.568,0.046,0.597,0.046,0.598,0.001,0.569,0.001
   objects:
     track:
       - person
       - car
       - cat
       - dog
       - license_plate
       - face
     filters:
       dog:
         min_score: .7
         threshold: .9
       cat:
         min_score: .65
         threshold: .8
       face:
         min_score: .7
       license_plate:
         min_score: .6
       person:
         min_score: .65
         threshold: .85
       car:
         min_score: .65
         threshold: .85
   live:
     streams:
       Main: NVR2
       Sub: NVR2_sub
   zones: {}
 NVR3:
   enabled: true
   ffmpeg:
     output_args:
       record: preset-record-generic-audio-copy
     inputs:
       - path: rtsp://127.0.0.1:8554/NVR3
         input_args: preset-rtsp-restream
         roles:
           - detect
       - path: rtsp://127.0.0.1:8554/NVR3_sub
         input_args: preset-rtsp-restream
         roles:
           - record
   record:
     enabled: true
     retain:
       days: 0
     alerts:
       retain:
         days: 14
         mode: motion
     detections:
       retain:
         days: 14
         mode: motion
   snapshots:
     enabled: true
   motion:
     mask: 0.565,0.045,0.596,0.045,0.598,0.001,0.567,0.001
   objects:
     track:
       - person
       - car
       - cat
       - dog
       - license_plate
       - face
     filters:
       dog:
         min_score: .7
         threshold: .9
       cat:
         min_score: .65
         threshold: .8
       face:
         min_score: .7
       license_plate:
         min_score: .6
       person:
         min_score: .65
         threshold: .85
       car:
         min_score: .65
         threshold: .85
   live:
     streams:
       Main: NVR3
       Sub: NVR3_sub
 NVR4:
   enabled: true
   ffmpeg:
     output_args:
       record: preset-record-generic-audio-copy
     inputs:
       - path: rtsp://127.0.0.1:8554/NVR4
         input_args: preset-rtsp-restream
         roles:
           - detect
       - path: rtsp://127.0.0.1:8554/NVR4_sub
         input_args: preset-rtsp-restream
         roles:
           - record
   record:
     enabled: true
     retain:
       days: 0
     alerts:
       retain:
         days: 14
         mode: motion
     detections:
       retain:
         days: 14
         mode: motion
   snapshots:
     enabled: true
   motion:
     mask: 0.563,0.043,0.596,0.046,0.598,0.001,0.562,0
   objects:
     track:
       - person
       - car
       - cat
       - dog
       - license_plate
       - face
     filters:
       dog:
         min_score: .7
         threshold: .9
       cat:
         min_score: .65
         threshold: .8
       face:
         min_score: .7
       license_plate:
         min_score: .6
       person:
         min_score: .65
         threshold: .85
       car:
         min_score: .65
         threshold: .85
   live:
     streams:
       Main: NVR4
       Sub: NVR4_sub
 NVR5:
   enabled: true
   ffmpeg:
     output_args:
       record: preset-record-generic-audio-copy
     inputs:
       - path: rtsp://127.0.0.1:8554/NVR5
         input_args: preset-rtsp-restream
         roles:
           - detect
       - path: rtsp://127.0.0.1:8554/NVR5_sub
         input_args: preset-rtsp-restream
         roles:
           - record
   record:
     enabled: true
     retain:
       days: 0
     alerts:
       retain:
         days: 14
         mode: motion
     detections:
       retain:
         days: 14
         mode: motion
   snapshots:
     enabled: true
   motion:
     mask: 0.562,0.045,0.596,0.046,0.596,0.003,0.561,0.001
   objects:
     track:
       - person
       - cat
       - dog
       - face
     filters:
       dog:
         min_score: .7
         threshold: .9
       cat:
         min_score: .65
         threshold: .8
       face:
         min_score: .7
       person:
         min_score: .65
         threshold: .85
   live:
     streams:
       Main: NVR5
       Sub: NVR5_sub
 NVR6:
   enabled: true
   ffmpeg:
     output_args:
       record: preset-record-generic-audio-copy
     inputs:
       - path: rtsp://127.0.0.1:8554/NVR6
         input_args: preset-rtsp-restream
         roles:
           - detect
       - path: rtsp://127.0.0.1:8554/NVR6_sub
         input_args: preset-rtsp-restream
         roles:
           - record
   record:
     enabled: true
     retain:
       days: 0
     alerts:
       retain:
         days: 14
         mode: motion
     detections:
       retain:
         days: 14
         mode: motion
   snapshots:
     enabled: true
   motion:
     mask: 0.564,0.049,0.598,0.049,0.598,0,0.564,0.001
   objects:
     track:
       - person
       - cat
       - dog
       - face
     filters:
       dog:
         min_score: .7
         threshold: .9
       cat:
         min_score: .65
         threshold: .8
       face:
         min_score: .7
       person:
         min_score: .65
         threshold: .85
   live:
     streams:
       Main: NVR6
       Sub: NVR6_sub
 Dormitor_mtr:
   enabled: true
   ui:
     dashboard: true
   birdseye:
     enabled: false
   ffmpeg:
     output_args:
       record: preset-record-generic-audio-copy
     inputs:
       - path: rtsp://127.0.0.1:8554/E1Zoom_sub
         input_args: preset-rtsp-restream
         roles:
           - detect
       - path: rtsp://127.0.0.1:8554/E1Zoom
         input_args: preset-rtsp-restream
         roles:
           - record
   audio:
     enabled: false
     min_volume: 200
     listen:
       - babbling
       - scream
       - speech
       - yell
       - whispering
       - laughter
       - snicker
       - crying
       - sigh
       - groan
       - grunt
       - breathing
       - wheeze
       - snoring
       - gasp
       - pant
       - snort
       - cough
       - throat_clearing
       - sneeze
       - sniff
       - burping
       - hiccup
       - fart
       - noise
       - environmental_noise
   record:
     enabled: true
     retain:
       days: 0
     alerts:
       retain:
         days: 7
         mode: active_objects
   snapshots:
     enabled: true
   motion:
     mask: 0.296,0,0.709,0,0.708,0.067,0.294,0.064
   review:
     alerts:
       labels: []
   objects:
     track:
       - person
     filters:
       person:
         min_score: .85
         threshold: .95
   live:
     streams:
       Main: E1Zoom
       Sub: E1Zoom_sub
 Eliana:
   enabled: true
   ui:
     dashboard: true
   birdseye:
     enabled: false
   ffmpeg:
     output_args:
       record: preset-record-generic-audio-copy
     inputs:
       - path: rtsp://127.0.0.1:8554/Eliana_sub
         input_args: preset-rtsp-restream
         roles:
           - detect
       - path: rtsp://127.0.0.1:8554/Eliana
         input_args: preset-rtsp-restream
         roles:
           - record
   audio:
     enabled: false
     min_volume: 200
     listen:
       - babbling
       - scream
       - speech
       - yell
       - whispering
       - laughter
       - snicker
       - crying
       - sigh
       - groan
       - grunt
       - breathing
       - wheeze
       - snoring
       - gasp
       - pant
       - snort
       - cough
       - throat_clearing
       - sneeze
       - sniff
       - burping
       - hiccup
       - fart
       - noise
       - environmental_noise
   record:
     enabled: true
     retain:
       days: 0
     alerts:
       retain:
         days: 7
         mode: active_objects
   snapshots:
     enabled: true
   motion:
     mask: 0.296,0,0.709,0,0.708,0.067,0.294,0.064
   review:
     alerts:
       labels: []
   objects:
     track:
       - person
     filters:
       person:
         min_score: .85
         threshold: .95
   live:
     streams:
       Main: Eliana
       Sub: Eliana_sub
detectors:
 ov:
   type: openvino
   device: GPU
version: 0.16-0
camera_groups:
 Front_yard:
   order: 1
   icon: LuArrowUp
   cameras:
     - NVR1
     - NVR2
 Back_yard:
   order: 2
   icon: LuArrowDown
   cameras:
     - NVR5
     - NVR6
 Driveway:
   order: 3
   icon: LuArrowRight
   cameras:
     - NVR3
     - NVR4
 Yard:
   order: 4
   icon: LuHouse
   cameras:
     - NVR1
     - NVR2
     - NVR3
     - NVR4
     - NVR5
     - NVR6
 Inside:
   order: 5
   icon: LuHousePlus
   cameras:
     - Dormitor_mtr
     - Eliana
semantic_search:
 enabled: true
 reindex: false
 model_size: large
genai:
 enabled: true
 provider: openai
 api_key:
   api-key
 model: google/gemini-2.0-flash-001
detect:
 enabled: true
 fps: 5
face_recognition:
 enabled: true
 model_size: small
lpr:
 enabled: true
classification:
 bird:
   enabled: false