[Support]: Face identification not accurate #19332
Replies: 4 comments 14 replies
-
This is incorrect. It is only recommended to have at most 5 phone images for each person. When it comes to detecting the back of the head as a face, you may need to increase the detection_threshold for faces to reduce those false positives. Once a face is detected, it is used to generate an embedding that is compared to the trained image embedding. 100% match means there may be some other blurry or otherwise difficult images that lead to the strong match. It seems to me like the first recommended step is revisiting the training data |
Beta Was this translation helpful? Give feedback.
-
I have similar issues, seems like a crap shoot. It would be extremely confident in making ridiculous mistakes mistaken my face for my wifes (like 99% confident) and even worse, total strangers faces for mine with 90%+ confidence. Also the images are extremely blurry for some reason even I'm using the intercom camera on full HD resolution. In the end i went back to Double Take with Compreface. Seems much more accurate and makes more sense than the current frigate implementation. Hopefully we can see improvements from here onwards. |
Beta Was this translation helpful? Give feedback.
-
I still have a problem with inaccurate detection and, like @kirashogun, inexplicably blurry images. I was intrigued by the bitrate suggestion, but my streams are configured for 8192, which should be more than enough. I am now wondering if my fps could be misconfigured or suboptimally configured. I am using the camera's mains tream for roles record and detect, configured at 2592*1944, CBR, 20 FPS, bitrate 8192, frame interval 40. This snippet is from my config, which should provide a reasonable image for detection. Maybe I am missing something?
|
Beta Was this translation helpful? Give feedback.
-
I had to move from my camera's D1 sub stream to the second sub stream (720p) and with 5 fps / 5 interval face recognition is working really well, differentiating between adults and even kids that look fairly similar. The UI definitely takes some getting used to but once you have a flow it makes a lot of sense and I am happy with how things are performing. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the problem you are having
I am trying to get face identification set up in a way that's reliable and useful. I have done the training like you recommended, gradually increasing. There are only two people in the library, and each of us now has about 25 images, half of which were face shots taken from different angles with a phone, and half of which are captured from one of the cameras. I am particularly interested in 3 of the cameras, and I have increased the resolution of the detect stream on those in order to get good face and license plate images. Frigate often gets the identification correct now, but in maybe 10% of the training images it makes egregious mistakes. For example, on a blurry image of the back of my wife's head, it will identify the image as me at 100%. It frequently reports 100% and I'm not sure that's even possible on any image, but on an image of the back of somebody else's head it shouldn't happen. I have played around with the threshold for faces, and haven't been able to improve the problem. I have also played around with the resolution provided, and higher resolution does seem to increase the percentage of correct identifications, but it does not decrease the number of images that are 100% but wrong. I would appreciate some direction.
Version
0.16.0-0b7a33d
What browser(s) are you using?
No response
Frigate config file
Relevant Frigate log output
Relevant go2rtc log output
FFprobe output from your camera
Frigate stats
Install method
Docker Compose
docker-compose file or Docker CLI command
Object Detector
Coral
Network connection
Wired
Camera make and model
Amcrest various models
Screenshots of the Frigate UI's System metrics pages
No response
Any other information that may be helpful
No response
Beta Was this translation helpful? Give feedback.
All reactions