Can´t get face recognition running #22797
Replies: 9 comments 9 replies
-
|
Based on your debug log showing "Detected no faces for person object," the face detection step is running but not finding faces in the frames. Here are the key areas to check: 1. Detect Stream ResolutionFace recognition runs on the camera stream defined by the 2. Model Download StatusYour MQTT message shows 3. Minimum Face AreaYou've set 4. Face Detection Model ConsiderationsSince you're using an EdgeTPU detector (not a Frigate+ model that natively detects Recommendations
📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
-
|
Have you uploaded at least one face? https://docs.frigate.video/configuration/face_recognition/#usage |
Beta Was this translation helpful? Give feedback.
-
|
What I tried: Changing one high-res camera stream from record to detect increase CPU abut 10%, even if have setup a RTX for ffmpeg hwaccel. No changes, Face recognition doesnt´ work. I have downloaded the referring snapshot files. On both, snapshot and clean snapshot I can see the face clearly, even the rtsp stream on VLC. Both snapshots have had the detect stream resolution. What I can´t understand is, that it worked before using the same server hardware and cameras running Frigate 0.16. Also in the debug log I can see as before: Any more ideas, what I can try? |
Beta Was this translation helpful? Give feedback.
-
|
Just one numbers, using the video stream for detecting I can see in Frigate "Tracked Object Details": So I can´t understand, what I configured wrong, that Frigate can´t find a face on that snapshot?!? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
I don't see anything wrong with your metrics screenshots - they show that face recognition inference is running. For now, I'd suggest:
|
Beta Was this translation helpful? Give feedback.
-
|
Hi, thank you for advice. I will try again with this settings and will let you know what happens |
Beta Was this translation helpful? Give feedback.
-
|
I tried again with the changes you have recommended, but I'm sorry about, same as before. Face-recognition is not working. Nothing ;-( |
Beta Was this translation helpful? Give feedback.
-
|
The good news: Face recognition is working well with Frigate 0.17.1! Thank you for your help, following the idea to test just with a dummy camera I´ve got it working as expected. After some more days of research and testing, the following configuration has consistently proven to be the solution for my setup: Adding the resolution from detect stream to each camera: Follwing sections have to be included to the config.yml, even if "enabled: false" Most important, after this changes Face recognition getting started: They have to be after the camera section: semantic_search: |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
Even if 0.16 works well regarding face recognition, after I updated to 0.17.1 even after 2 weeks reading the documentation and trying I´m sorry about; I'm not able to get it up and running.
MQTT is enabled, detector is "edgetpu", I lowered filters section, I uploaded the same photos as before as samples to define a face, I tried small and large model.
Persons are detected, Face Library is empty, no pictures, nothing.
I noticed a MQTT Frigate/model_state message and as I understand, face recognition model is not loaded:
{
"jinaai/jina-clip-v1-text_model_fp16.onnx": "downloaded",
"jinaai/jina-clip-v1-tokenizer": "downloaded",
"jinaai/jina-clip-v1-vision_model_quantized.onnx": "downloaded",
"jinaai/jina-clip-v1-preprocessor_config.json": "downloaded",
"facenet-facenet.onnx": "not_downloaded",
"paddleocr-onnx-detection.onnx": "not_downloaded",
"paddleocr-onnx-classification.onnx": "downloaded",
"paddleocr-onnx-recognition.onnx": "not_downloaded",
"paddleocr-onnx-detection_v5-small.onnx": "downloaded",
"paddleocr-onnx-recognition_v4.onnx": "downloaded",
"paddleocr-onnx-ppocr_keys_v1.txt": "downloaded",
"yolov9_license_plate-yolov9-256-license-plates.onnx": "downloaded",
"facedet-facedet.onnx": "downloaded",
"facedet-landmarkdet.yaml": "downloaded",
"facedet-arcface.onnx": "downloaded"
}
Part of my config.yaml:
detect:
enabled: true
objects:
track:
- person
filters:
person:
min_score: 0.5
threshold: 0.7
face_recognition:
enabled: true
model_size: large
detection_threshold: 0.2
min_area: 100
snapshots:
enabled: true
############################### CAMERA 103 ###############################
camera_103:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/camera_103_low
roles:
- detect
- path: rtsp://192.168.50.1:8554/camera_103_high
roles:
- record
live:
streams:
Main Stream: camera_103_high
Sub Stream: camera_103_low
ui:
order: 3
detect:
enabled: true
snapshots:
enabled: true
crop: false
quality: 100
bounding_box: true
mqtt:
enabled: true
lpr:
enabled: true
objects:
track:
- person
- car
- bicycle
- motorcycle
filters:
car:
mask:
0.458,0.111,0.454,0.258,0.494,0.267,0.497,0.32,0.573,0.343,0.579,0.29,0.636,0.29,0.653,0.22,0.653,0.125,0.5,0.1
What I noticed in the debug log:
2026-04-07 12:03:16.504120366 [2026-04-07 12:03:16] frigate.data_processing.real_time.face DEBUG : Running manual face detection.
2026-04-07 12:03:16.507212280 [2026-04-07 12:03:16] frigate.data_processing.real_time.face DEBUG : Detected no faces for person object.
Any ideas, why face recognition doesn't work?
Thanks for any help!
Beta Was this translation helpful? Give feedback.
All reactions