Files
frigate/config/config.yml
T
percoandClaude Sonnet 4.6 9aefcb23cf fix: use main stream 1080p for detect to get HD snapshots
Sub-stream at 640x360 produced low quality snapshots and poor LPR accuracy.
Switched detect to main stream 1920x1080 at 2fps (VAAPI handles decoding).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-02 10:05:27 +02:00

65 lines
1.1 KiB
YAML

mqtt:
enabled: false
database:
path: /db/frigate.db
ffmpeg:
hwaccel_args: preset-vaapi
detectors:
default:
type: cpu
cameras:
entree:
ffmpeg:
inputs:
- path: rtsp://admin:Wxcvbn99--$$@192.168.1.44/h264Preview_01_main
roles:
- detect
- record
detect:
enabled: true
width: 1920
height: 1080
fps: 2
objects:
track:
- car
- person
filters:
car:
min_score: 0.5
threshold: 0.7
person:
min_score: 0.5
threshold: 0.7
snapshots:
enabled: true
bounding_box: true
retain:
default: 30
record:
enabled: false
motion:
threshold: 25
improve_contrast: true
zones:
dehors:
coordinates:
0.005,0.517,0.127,0.445,0.276,0.4,0.44,0.354,0.892,0.268,0.858,0.139,0.713,0.131,0.703,0.003,0.001,0.005
loitering_time: 0
snapshots:
retain:
default: 30
lpr:
enabled: true
min_area: 1500
environment_vars:
LIBVA_DRIVER_NAME: i965
version: 0.17-0