Untitled

 avatar
unknown
plain_text
a year ago
6.9 kB
3
No Index
mqtt:
  enabled: true
  host: mosquitto.mosquitto.svc
  port: 1883
  topic_prefix: frigate
  client_id: frigate
  user: admin
  password: xxxx

birdseye:
  enabled: true
  mode: continuous

detectors:
  coral:
    type: edgetpu

ffmpeg:
  hwaccel_args: preset-vaapi
  output_args:
    record: preset-record-generic-audio-aac

detect:
  width: 1920
  height: 1080
  fps: 5
  stationary:
    interval: 50
    threshold: 50
  max_disappeared: 150

objects:
  track:
    - dog
    - cat
    - face
    - package
    - license_plate
    - amazon
    - ups
    - fedex
    - amazon
    - person
    - car
    - deer
  filters:
    person:
      min_score: .60
      threshold: .70
      # min_area: 25000
    cat:
      min_score: .50
      threshold: .60
    dog:
      min_score: .50
      threshold: .60
record:
  enabled: true
  retain:
    days: 7
    mode: all
  events:
    retain:
      default: 30
      mode: motion

go2rtc:
  streams:
    front_porch:
      - rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=0
    driveway:
      - rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=0
    back_deck:
      - rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=0
    kitchen_deck:
      - rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=0


cameras:
  driveway: # <------ Name the camera
    enabled: true
    # live:
    #   stream_name: driveway
    ffmpeg:
      inputs:
      - path: rtsp://127.0.0.1:8554/driveway
        input_args: preset-rtsp-restream
        roles:
          - record
          - audio
          - detect
    detect:           # <---- if I want a different detect setting for the 180 camera
      enabled: true
      width: 2048
      height: 928
    record:   # <----- Enable recording
      enabled: true
    snapshots:   # <----- Enable snapshots
      enabled: true
      bounding_box: true
    review:
      alerts:
        required_zones:
          - drive
          - side_yard
          - front_yard
          - garden
      detections:
        required_zones:
          - drive
          - side_yard
          - front_yard
          - garden
    zones:
      drive:
        coordinates: 0.61,1,0.602,0.648,0.609,0.268,0.336,0.253,0.247,0.476,0.167,0.744,0.285,0.998
        loitering_time: 0
        inertia: 3
      side_yard:
        coordinates: 0.324,0.259,0.241,0.47,0.164,0.733,0.088,0.557,0.16,0.355
        loitering_time: 0
      front_yard:
        coordinates: 0.612,0.27,0.821,0.385,0.875,0.568,0.693,0.507,0.664,0.648,0.604,0.634
        loitering_time: 0
        inertia: 3
      garden:
        coordinates: 
          0.61,0.784,0.615,1,0.847,0.998,0.908,0.931,0.882,0.84,0.936,0.723,0.91,0.666,0.663,0.657,0.606,0.648
        loitering_time: 0
        inertia: 3
    objects:
      filters:
        car:
          mask:
            - 0.315,0.168,0.449,0.125,0.615,0.143,0.571,0.995,0.285,0.997,0.146,0.684
            - 0.205,0,0.363,0,0.254,0.082
            - 0.631,0,0.785,0.138,0.812,0
    motion:
      threshold: 20
      contour_area: 10
      improve_contrast: 'true'
  front_porch: # <------ Name the camera
    enabled: true
    # live:
    #   stream_name: front_porch
    ffmpeg:
      inputs:
      - path: rtsp://127.0.0.1:8554/front_porch
        input_args: preset-rtsp-restream
        roles:
          - record
          - audio
          - detect
    detect:
      enabled: true # <---- disable detection until you have a working camera feed
    record: # <----- Enable recording
      enabled: true
    snapshots: # <----- Enable snapshots
      enabled: true
      bounding_box: true
    review:
      alerts:
        required_zones:
          - sidewalk
          - front_door
          - garden
          - deck
      detections:
        required_zones:
          - sidewalk
          - front_door
          - garden
          - deck
    zones:
      sidewalk:
        coordinates: 
          0.347,0.944,0.365,0.997,0.762,0.992,0.885,0.687,0.948,0.417,0.871,0.34,0.758,0.559,0.722,0.509,0.55,0.709
        loitering_time: 0
      front_door:
        coordinates: 0.874,0.331,0.95,0.41,0.971,0.297,0.916,0.25
        loitering_time: 0
        inertia: 3
      garden:
        coordinates: 
          0.203,0.518,0.352,0.995,0.038,0.995,0.037,0.711,0.037,0.47,0.101,0.422,0.142,0.574
        loitering_time: 0
      deck:
        coordinates: 0.349,0.94,0.727,0.467,0.521,0.259,0.209,0.477
        inertia: 3
        loitering_time: 0
  back_deck: # <------ Name the camera
    enabled: true
    # live:
    #   stream_name: back_deck
    ffmpeg:
      inputs:
      - path: rtsp://127.0.0.1:8554/back_deck
        input_args: preset-rtsp-restream
        roles:
          - record
          - audio
          - detect
    detect:
      enabled: true # <---- disable detection until you have a working camera feed
    record: # <----- Enable recording
      enabled: true
    snapshots: # <----- Enable snapshots
      enabled: true
      bounding_box: true
    review:
      alerts:
        required_zones:
          - yard
          - deck
      detections:
        required_zones:
          - yard
          - deck
    zones:
      deck:
        coordinates: 
          0.605,0.331,0.747,0.53,0.803,0.473,0.927,0.656,0.731,0.997,0.426,0.999,0.295,0.591
        loitering_time: 0
      yard:
        coordinates: 
          0.286,0.589,0.417,0.996,0.093,1,0.186,0.481,0.283,0.167,0.323,0.057,0.398,0.003,0.601,0.004,0.603,0.323
        loitering_time: 0
        inertia: 3
  kitchen_deck: # <------ Name the camera
    enabled: true
    # live:
    #   stream_name: kitchen_deck
    ffmpeg:
      inputs:
      - path: rtsp://127.0.0.1:8554/kitchen_deck
        input_args: preset-rtsp-restream
        roles:
          - record
          - audio
          - detect
    detect:
      enabled: true # <---- disable detection until you have a working camera feed
    record: # <----- Enable recording
      enabled: true
    snapshots: # <----- Enable snapshots
      enabled: true
      bounding_box: true
    review:
      alerts:
        required_zones:
          - garden
          - deck
      detections:
        required_zones:
          - garden
          - deck
    zones:
      garden:
        coordinates: 0.385,0.179,0.401,0.376,0.76,0.618,0.807,0.402
        inertia: 3
        loitering_time: 0
      deck:
        coordinates: 0.159,0.762,0.399,0.393,0.761,0.631,0.675,0.996,0.29,0.999
        inertia: 3
        loitering_time: 0
version: 0.14
camera_groups:
  birdseye:
    order: 1
    icon: LuEye
    cameras: birdseye
Editor is loading...
Leave a Comment