mqtt:
host: 192.168.100.189
port: 1883
user: admin
password: *****
detectors:
detector_name:
type: cpu
logger:
# Optional: Default log verbosity (default: shown below)
default: info
# Optional: Component specific logger overrides
logs:
frigate.event: debug
objects:
track:
- person
- car
- cat
- dog
record:
enabled: true
retain:
days: 7
mode: all
events:
retain:
default: 7
mode: motion
snapshots:
enabled: false
retain:
default: 7
cameras:
laojiaoutdoor:
enabled: true
ffmpeg:
hwaccel_args: preset-vaapi
inputs:
- path: rtsp://admin:********@192.168.2.229:554/stream1
roles:
- detect
- audio
detect:
width: 2560
height: 1440
fps: 15
zones:
outdoor:
coordinates:
0.053,0.54,0.198,0.417,0.388,0.354,0.579,0.383,0.591,0.345,0.704,0.307,0.816,0.323,0.995,0.454,0.996,0.992,0.108,0.989,0.003,0.611,0.005,0.315
loitering_time: 0
inertia: 3
motion:
threshold: 45
contour_area: 15
improve_contrast: 'true'
mask:
0.001,0,0.998,0.008,0.998,0.43,0.981,0.43,0.906,0.378,0.824,0.312,0.713,0.296,0.635,0.307,0.587,0.332,0.579,0.369,0.391,0.345,0.192,0.406,0.053,0.537,0.002,0.249
review:
alerts:
required_zones: outdoor1
detections:
required_zones: outdoor1
objects: {}
version: 0.14
复制代码