mqtt:
host: mqtt.server.com
port: 1883
topic_prefix: frigate
client_id: frigate
user: mqtt_user
password: password
tls_ca_certs: /path/to/ca.crt
tls_client_cert: /path/to/client.crt
tls_client_key: /path/to/client.key
tls_insecure: false
stats_interval: 60
detectors:
coral:
type: edgetpu
device: usb
num_threads: 3
database:
path: /media/frigate/frigate.db
model:
path: /edgetpu_model.tflite
labelmap_path: /labelmap.txt
width: 320
height: 320
labelmap:
2: vehicle
logger:
default: info
logs:
frigate.event: debug
environment_vars:
EXAMPLE_VAR: value
birdseye:
enabled: True
width: 1280
height: 720
quality: 8
mode: objects
ffmpeg:
global_args: -hide_banner -loglevel warning
hwaccel_args: []
input_args: -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1
output_args:
detect: -f rawvideo -pix_fmt yuv420p
record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an
rtmp: -c copy -f flv
detect:
width: 1280
height: 720
fps: 5
enabled: True
max_disappeared: 25
stationary:
interval: 0
threshold: 50
max_frames:
default: 3000
objects:
person: 1000
objects:
track:
- person
mask: 0,0,1000,0,1000,200,0,200
filters:
person:
min_area: 5000
max_area: 100000
min_ratio: 0.5
max_ratio: 2.0
min_score: 0.5
threshold: 0.7
mask: 0,0,1000,0,1000,200,0,200
motion:
threshold: 25
contour_area: 30
delta_alpha: 0.2
frame_alpha: 0.2
frame_height: 50
mask: 0,900,1080,900,1080,1920,0,1920
improve_contrast: False
mqtt_off_delay: 30
record:
enabled: False
expire_interval: 60
retain:
days: 0
mode: all
events:
pre_capture: 5
post_capture: 5
objects:
- person
required_zones: []
retain:
default: 10
mode: motion
objects:
person: 15
snapshots:
enabled: False
clean_copy: True
timestamp: False
bounding_box: False
crop: False
height: 175
required_zones: []
retain:
default: 10
objects:
person: 15
rtmp:
enabled: True
live:
height: 720
quality: 8
timestamp_style:
position: "tl"
format: "%m/%d/%Y %H:%M:%S"
color:
red: 255
green: 255
blue: 255
thickness: 2
effect: None
cameras:
back:
ffmpeg:
inputs:
- path: rtsp://viewer:{FRIGATE_RTSP_PASSWORD}@10.0.10.10:554/cam/realmonitor?channel=1&subtype=2
roles:
- detect
- rtmp
best_image_timeout: 60
zones:
front_steps:
coordinates: 545,1077,747,939,788,805
objects:
- person
filters:
person:
min_area: 5000
max_area: 100000
threshold: 0.7
mqtt:
enabled: True
timestamp: True
bounding_box: True
crop: True
height: 270
quality: 70
required_zones: []
ui:
order: 0
dashboard: True