[Config Support]: Face recognition #18498
Describe the problem you are having
Version0.16.0-1fa7ce5 Frigate config file# ================================
# Frigate Config
# Global-Optimized (less repeat)
# ================================
# -------- MQTT Broker Settings --------
mqtt:
host: 192.168.1.39
topic_prefix: frigate
user: mqtt
password: Michael1541GT
# -------- Database Settings --------
database:
path: /config/frigate.db
# -------- Authentication --------
auth:
enabled: true
failed_login_rate_limit: 1/second;5/minute;20/hour
trusted_proxies:
- 172.29.0.0/16
# -------- TLS/SSL --------
tls:
enabled: false
# -------- Object Detection Hardware --------
detectors:
coral1:
type: edgetpu
device: pci:0
coral2:
type: edgetpu
device: pci:1
# -------- go2rtc (Restreaming) --------
go2rtc:
streams:
voordeur:
- rtsp://{FRIGATE_USER}:{FRIGATE_RTSP_PASSWORD}@192.168.1.7:554/h264Preview_01_main
voordeur_sub:
- rtsp://{FRIGATE_USER}:{FRIGATE_RTSP_PASSWORD}@192.168.1.7:554/h264Preview_01_sub
tuinpoort:
- rtsp://{FRIGATE_USER}:{FRIGATE_RTSP_PASSWORD}@192.168.1.8:554/h264Preview_01_main
tuinpoort_sub:
- rtsp://{FRIGATE_USER}:{FRIGATE_RTSP_PASSWORD}@192.168.1.8:554/h264Preview_01_sub
tuin:
- rtsp://{FRIGATE_USER}:{FRIGATE_RTSP_PASSWORD}@192.168.1.12:554/h264Preview_01_main
tuin_sub:
- rtsp://{FRIGATE_USER}:{FRIGATE_RTSP_PASSWORD}@192.168.1.12:554/h264Preview_01_sub
deurbel:
- rtsp://{FRIGATE_USER}:{FRIGATE_RTSP_PASSWORD}@192.168.1.4:554/h264Preview_01_main
deurbel_sub:
- rtsp://{FRIGATE_USER}:{FRIGATE_RTSP_PASSWORD}@192.168.1.4:554/h264Preview_01_sub
aquarium:
- rtsp://192.168.1.42:8554/cam
aquarium-rotated:
- ffmpeg:aquarium#video=h264#rotate=270
webrtc:
candidates:
- 192.168.1.39:8555
- stun:8555
# -------- Global Camera Settings --------
snapshots:
enabled: true
clean_copy: true
timestamp: false
bounding_box: true
retain:
default: 14
record:
enabled: true
retain:
days: 7
mode: all
alerts:
retain:
days: 14
detections:
retain:
days: 14
birdseye:
enabled: true
quality: 5
mode: continuous
objects:
track: [person, face]
filters:
person:
threshold: 0.74
detect:
enabled: true
# -------- Cameras --------
cameras:
voordeur:
enabled: true
ffmpeg:
hwaccel_args: preset-vaapi
output_args:
record: preset-record-generic-audio-copy
inputs:
- path: rtsp://127.0.0.1:8554/voordeur
input_args: preset-rtsp-restream
roles: [record]
- path: rtsp://127.0.0.1:8554/voordeur_sub
input_args: preset-rtsp-restream
roles: [detect]
detect:
width: 640
height: 480
fps: 10
objects:
track: [face, person, dog, cat, bicycle, motorcycle]
filters:
person: {threshold: 0.74}
dog: {threshold: 0.8}
cat: {threshold: 0.8}
bicycle: {threshold: 0.7}
motorcycle: {threshold: 0.7}
face: {threshold: 0.7}
mask: 0.993,0,1,0.837,0.558,0.325,0.516,0.272,0.443,0.067,0.451,0
snapshots:
required_zones: [voordeur_stoep]
zones:
voordeur_stoep:
coordinates: 0.155,0.725,0.224,0.918,0.261,1,0.377,1,0.692,1,0.448,0.585
inertia: 3
loitering_time: 2
Voordeur:
coordinates: 0.155,0.725,0.004,0.166,0,0.996,0.259,0.995
loitering_time: 0
objects: person
mqtt:
timestamp: false
bounding_box: false
crop: true
quality: 100
height: 500
ui:
order: 1
review:
alerts: {required_zones: [voordeur_stoep, Voordeur]}
detections: {required_zones: [voordeur_stoep, Voordeur]}
motion:
mask:
- 0.391,0.556,0.161,0.657,0.078,0.36,0.035,0.001,0.374,0.002
- 0.021,0.925,0.313,0.917,0.316,0.967,0.024,0.981
- 0.793,0.588,0.558,0.772,0.448,0.585,0.443,0.059,0.52,0.282
threshold: 37
contour_area: 10
improve_contrast: true
notifications:
enabled: true
record:
enabled: true
retain:
days: 7
mode: all
alerts:
retain:
days: 14
detections:
retain:
days: 14
deurbel:
enabled: true
ffmpeg:
hwaccel_args: preset-vaapi
output_args:
record: preset-record-generic-audio-copy
inputs:
# Use substream for recording and detection to reduce bandwidth.
- path: rtsp://127.0.0.1:8554/deurbel_sub
input_args: preset-rtsp-restream
roles: [record, detect]
# Optionally, comment out or remove the main stream for recording.
# - path: rtsp://127.0.0.1:8554/deurbel?video=copy&audio=aac
# input_args: preset-rtsp-restream
# roles: [record]
detect:
enabled: true
objects:
track: [face, person, dog, cat, bicycle, motorcycle]
filters:
person: {threshold: 0.74}
dog: {threshold: 0.8}
cat: {threshold: 0.8}
bicycle: {threshold: 0.7}
motorcycle: {threshold: 0.7}
face: {threshold: 0.7}
mask: 0.159,0.424,0.159,0.611,0.19,0.847,0.77,0.999,0.8,0.568,0.792,0.396
snapshots:
required_zones: [deurbel_stoep]
mqtt:
timestamp: false
bounding_box: false
crop: true
quality: 100
height: 500
zones:
Stoep:
coordinates: 0.247,0.862,0.12,0.996,0.77,0.999,0.77,0.999
loitering_time: 2
inertia: 3
record:
enabled: true
retain:
days: 7
mode: all
alerts:
retain:
days: 14
detections:
retain:
days: 14
ui:
order: 2
review:
alerts:
required_zones: Stoep
detections:
required_zones: Stoep
motion:
mask:
- 0.014,0.933,0.014,0.987,0.302,0.985,0.295,0.931
- 0.186,0.195,0.28,0.139,0.274,0.487,0.155,0.486,0.164,0.332
threshold: 37
contour_area: 10
improve_contrast: true
notifications:
enabled: true
tuinpoort:
enabled: true
ffmpeg:
hwaccel_args: preset-vaapi
output_args:
record: preset-record-generic-audio-copy
inputs:
- path: rtsp://127.0.0.1:8554/tuinpoort
input_args: preset-rtsp-restream
roles: [record]
- path: rtsp://127.0.0.1:8554/tuinpoort_sub
input_args: preset-rtsp-restream
roles: [detect]
detect:
width: 640
height: 480
fps: 10
objects:
track: [face, person, dog, cat, bicycle, motorcycle]
filters:
person: {threshold: 0.74}
dog: {threshold: 0.8}
cat: {threshold: 0.8}
bicycle: {threshold: 0.7}
motorcycle: {threshold: 0.7, mask: '0.27,0.688,0.511,0.338,0.981,0.792,0.838,0.998,0.494,0.999'}
face: {threshold: 0.7}
snapshots:
required_zones: [poort_stoep]
mqtt:
timestamp: false
bounding_box: false
crop: true
quality: 100
height: 500
zones:
Poort:
coordinates: 0.074,0.491,0.248,0.792,0.412,0.671,0.652,0,0.308,0.004,0.227,0.429
loitering_time: 0
inertia: 3
Steeg:
coordinates: 0.834,0,0.761,0.185,0.624,0.078,0.652,0
loitering_time: 0
objects: person
inertia: 3
motion:
mask:
- 0.931,0.262,0.786,0.542,1,0.747,1,0.318
- 0.012,0.925,0.429,0.925,0.43,0.972,0.015,0.973
ui:
order: 3
review:
alerts:
required_zones:
- Poort
- Steeg
detections:
required_zones:
- Poort
- Steeg
notifications:
enabled: true
record:
enabled: true
retain:
days: 7
mode: all
alerts:
retain:
days: 14
detections:
retain:
days: 14
tuin:
enabled: true
ffmpeg:
hwaccel_args: preset-vaapi
output_args:
record: preset-record-generic-audio-copy
inputs:
- path: rtsp://127.0.0.1:8554/tuin
input_args: preset-rtsp-restream
roles: [record]
- path: rtsp://127.0.0.1:8554/tuin_sub
input_args: preset-rtsp-restream
roles: [detect]
detect:
width: 640
height: 480
fps: 10
objects:
track: [person, dog, cat, bicycle, motorcycle, face]
filters:
person: {threshold: 0.74}
dog: {threshold: 0.8}
cat: {threshold: 0.8}
bicycle: {threshold: 0.7, mask: '0,0.156,0,0.643,0.44,0.417,0.392,0.051'}
motorcycle: {threshold: 0.7}
face: {threshold: 0.7}
mqtt:
timestamp: false
bounding_box: false
crop: true
quality: 100
height: 500
ui:
order: 4
zones:
Achterdeur:
coordinates: 0.481,0.072,0.481,0.344,0.414,0.404,0.561,0.489,0.621,0.429,0.644,0.1
loitering_time: 0
objects: person
inertia: 3
Overgang:
coordinates: 0.001,0.484,0.095,0.444,0.168,0.541,0.029,0.611,0,0.581
loitering_time: 0
objects: person
motion:
mask:
- 0.769,0.302,0.74,0.574,1,0.562,1,0.177
- 0.22,0.338,0.227,0.527,0.353,0.517,0.356,0.333
- 0.302,0.127,0.302,0.256,0.453,0.265,0.454,0.13
- 0.023,0.905,0.023,0.978,0.316,0.978,0.31,0.914
- 0.03,0.064,0.04,0.269,0.203,0.255,0.194,0.051
threshold: 36
contour_area: 10
improve_contrast: true
review:
detections:
required_zones:
- Achterdeur
- Overgang
alerts:
required_zones:
- Achterdeur
- Overgang
notifications:
enabled: false
record:
enabled: true
retain:
days: 7
mode: all
alerts:
retain:
days: 14
detections:
retain:
days: 14
aquarium-rotated:
enabled: true
ffmpeg:
hwaccel_args: preset-vaapi
inputs:
- path: rtsp://127.0.0.1:8554/aquarium-rotated
roles: [detect]
detect:
enabled: false
mqtt:
timestamp: false
bounding_box: false
crop: true
quality: 100
height: 500
ui:
order: 5
notifications:
enabled: false
# -------- Camera Groupings for Sidebar --------
camera_groups:
Voordeur:
order: 1
icon: LuDoorClosed
cameras:
- voordeur
- deurbel
Tuin:
order: 2
icon: LuCarrot
cameras:
- tuinpoort
- tuin
Aquarium:
order: 3
icon: LuFish
cameras:
- aquarium-rotated
Birdseye:
order: 4
icon: LuBird
cameras:
- birdseye
# -------- Advanced Features --------
semantic_search:
enabled: true
reindex: true
model_size: small
face_recognition:
enabled: true
model_size: large
lpr:
enabled: false
classification:
bird:
enabled: false
version: 0.16-0Relevant Frigate log output2025-05-31 10:33:03.773821607 You have successfully opted out to send the telemetry data.
2025-05-31 10:33:03.778846659 [INFO] Preparing Frigate...
2025-05-31 10:33:04.021473909 [INFO] Starting Frigate...
2025-05-31 10:33:05.027877769 [2025-05-31 10:33:05] frigate.util.config INFO : Checking if frigate config needs migration...
2025-05-31 10:33:05.055022142 [2025-05-31 10:33:05] frigate.util.config INFO : frigate config does not need migration...
2025-05-31 10:33:05.764415645 [2025-05-31 10:33:05] frigate.util.services INFO : Automatically detected vaapi hwaccel for video decoding
2025-05-31 10:33:14.246886514 [2025-05-31 10:33:14] frigate.app INFO : Starting Frigate (0.16.0-1fa7ce5)
2025-05-31 10:33:14.253256839 [2025-05-31 10:33:14] peewee_migrate.logs INFO : Starting migrations
2025-05-31 10:33:14.253538260 [2025-05-31 10:33:14] peewee_migrate.logs INFO : There is nothing to migrate
2025-05-31 10:33:14.262761117 [2025-05-31 10:33:14] frigate.app INFO : Recording process started: 856
2025-05-31 10:33:14.265771208 [2025-05-31 10:33:14] frigate.app INFO : Review process started: 867
2025-05-31 10:33:14.266532304 [2025-05-31 10:33:14] frigate.app INFO : go2rtc process pid: 125
2025-05-31 10:33:14.273526646 [2025-05-31 10:33:14] detector.coral1 INFO : Starting detection process: 878
2025-05-31 10:33:14.327811011 INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
2025-05-31 10:33:14.327811011 [LOGGING] Last message repeated 1 times
2025-05-31 10:33:14.355243635 [2025-05-31 10:33:14] detector.coral2 INFO : Starting detection process: 880
2025-05-31 10:33:14.363979010 [2025-05-31 10:33:14] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as pci:1
2025-05-31 10:33:14.364065482 [2025-05-31 10:33:14] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as pci:0
2025-05-31 10:33:14.369035510 [2025-05-31 10:33:14] frigate.detectors.plugins.edgetpu_tfl INFO : TPU found
2025-05-31 10:33:14.369035510 [LOGGING] Last message repeated 1 times
2025-05-31 10:33:14.369144023 [2025-05-31 10:33:14] frigate.app INFO : Embedding process started: 887
2025-05-31 10:33:14.369437223 [2025-05-31 10:33:14] frigate.app INFO : Output process started: 914
2025-05-31 10:33:14.369456316 [2025-05-31 10:33:14] frigate.app INFO : Camera processor started for voordeur: 955
2025-05-31 10:33:14.369475718 [2025-05-31 10:33:14] frigate.app INFO : Camera processor started for deurbel: 965
2025-05-31 10:33:14.369496674 [2025-05-31 10:33:14] frigate.app INFO : Camera processor started for tuinpoort: 1003
2025-05-31 10:33:14.369514412 [2025-05-31 10:33:14] frigate.app INFO : Camera processor started for tuin: 1026
2025-05-31 10:33:14.369533457 [2025-05-31 10:33:14] frigate.app INFO : Camera processor started for aquarium-rotated: 1036
2025-05-31 10:33:14.434361036 [2025-05-31 10:33:14] frigate.app INFO : Capture process started for voordeur: 1046
2025-05-31 10:33:14.446550103 [2025-05-31 10:33:14] frigate.app INFO : Capture process started for deurbel: 1054
2025-05-31 10:33:14.511492631 [2025-05-31 10:33:14] frigate.app INFO : Capture process started for tuinpoort: 1067
2025-05-31 10:33:14.519519491 [2025-05-31 10:33:14] frigate.app INFO : Capture process started for tuin: 1078
2025-05-31 10:33:14.526362763 [2025-05-31 10:33:14] frigate.app INFO : Capture process started for aquarium-rotated: 1089
2025-05-31 10:33:14.531197226 [2025-05-31 10:33:14] frigate.storage WARNING : tuinpoort has a bandwidth of 22283.08 MB/hr which exceeds the expected maximum. This typically indicates an issue with the cameras recordings.
2025-05-31 10:33:14.532198695 [2025-05-31 10:33:14] frigate.storage WARNING : tuin has a bandwidth of 20141.11 MB/hr which exceeds the expected maximum. This typically indicates an issue with the cameras recordings.
2025-05-31 10:33:14.606688150 [2025-05-31 10:33:14] frigate.api.fastapi_app INFO : Starting FastAPI app
2025-05-31 10:33:14.659406674 [2025-05-31 10:33:14] frigate.api.fastapi_app INFO : FastAPI started
2025-05-31 10:33:15.030472402 [2025-05-31 10:33:15] frigate.embeddings.embeddings INFO : Indexing tracked object embeddings...
2025-05-31 10:33:23.940189343 [2025-05-31 10:33:23] frigate.embeddings.embeddings INFO : Embedded 321 thumbnails and 0 descriptions in 8.9 seconds
2025-05-31 10:33:24.002268096 loading data from : /config/model_cache/facedet/landmarkdet.yamlRelevant go2rtc log output2025-05-31 10:33:03.994002659 [INFO] Preparing new go2rtc config...
2025-05-31 10:33:04.252245552 [INFO] Starting go2rtc...
2025-05-31 10:33:04.303524033 10:33:04.303 INF go2rtc platform=linux/amd64 revision=fa580c5 version=1.9.9
2025-05-31 10:33:04.303526210 10:33:04.303 INF config path=/dev/shm/go2rtc.yaml
2025-05-31 10:33:04.303765992 10:33:04.303 INF [rtsp] listen addr=:8554
2025-05-31 10:33:04.303859769 10:33:04.303 INF [api] listen addr=:1984
2025-05-31 10:33:04.303873766 10:33:04.303 INF [webrtc] listen addr=:8555
2025-05-31 10:33:13.742143700 [INFO] Starting go2rtc healthcheck service...Frigate statsNo response Operating systemOther Linux Install methodDocker Compose docker-compose file or Docker CLI commandservices:
frigate:
container_name: frigate
privileged: true # Required for hardware acceleration; restrict if possible
restart: unless-stopped
# Use a stable image for production if available
# image: ghcr.io/blakeblackshear/frigate:0.16.0-beta2
image: ghcr.io/blakeblackshear/frigate:0.16.0-beta2-rocm
shm_size: "1024mb"
devices:
- /dev/apex_0:/dev/apex_0 # Coral Edge TPU device; ensure present on host
- /dev/apex_1:/dev/apex_1 # Coral Edge TPU device; ensure present on host
- /dev/dri/renderD128 # For GPU support
- /dev/kfd # For ROCm support
volumes:
- /etc/localtime:/etc/localtime:ro
# Consider mounting the entire config directory for flexibility
- /home/docker/docker_data/frigate/config:/config
- /mnt/frigatedata:/media/frigate
- type: tmpfs
target: /tmp/cache
tmpfs:
size: 5g # Use '5g' if your Docker version supports it for readability
ports:
- "5000:5000"
- "8971:8971"
- "8554:8554"
- "8555:8555/tcp"
- "8555:8555/udp"
env_file:
- .env
environment:
- HSA_OVERRIDE_GFX_VERSION=11.0.0Object DetectorCoral Screenshots of the Frigate UI's System metrics pagesAny other information that may be helpfulNo response |
Answered by
hawkeye217
May 31, 2025
Replies: 1 comment 2 replies
|
You've set |
2 replies
Answer selected by
francoisduprez
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

You've set
faceas an object to track in your config, but you are not running a model that detects faces. The Face Recognition docs indicate that you should not define those objects to track in this case.