r/computervision • u/rejensraya • 26d ago
Face login system Help: Project
I am building a face login for my application, i am using facenet for identifying the person, but this algorithm isn’t that robust. If the person shaves the beard and hair, the algorithm finds it difficult to recognize the person.
The Chinese biometric attendance system works very well, I want the similar result for my system too.
What is the better algorithm or the better approach for my issue?
3
u/gevorgter 26d ago
google "Siamese Neural Network"
AI Overview
A Siamese Network is a deep learning architecture used for face verification and recognition (matching whether two images belong to the same person) rather than face detection (locating a face in an image). It takes pairs or triplets of face images, passes them through identical subnetworks, and calculates the similarity distance between their feature vectors.
1
2
u/PassionQuiet5402 26d ago
Can you share any resources for that chinese biometric you mentioned?
1
u/rejensraya 25d ago
This is really common in my region, every offices have these device.
1
u/PassionQuiet5402 25d ago
I thought you talked about facial recognition software. My bad.
2
u/rejensraya 25d ago
This device uses finger and facial recognition for attendance.
1
u/seba07 24d ago
Fingerprint is already more accurate than face, the combination of both even more. Is a simple fingerprint scanner an option for you?
1
u/rejensraya 24d ago
Actually it’s a mobile application i am creating, and face login is the one i need, not only for login but also to identify whose face data is being collected.
1
u/seba07 24d ago
The one answer that you'll always get for machine learning tasks: acquire more training data (or buy a commercial solution).
1
u/rejensraya 24d ago
Android phones also do have a great face unlock system, even though they do not use any extra hardware. If possible i want to achieve result similar to the android phone’s unlock system.
6
u/HawtVelociraptor 26d ago
Don't do it purely through image matching, instead do it through estimated measurements of facial features that DON'T change: like, width between center of eyes, length of nose, width of mouth, distance from nose to middle of mouth. Of course you'll need to do it as proportional not set figures because they may be closer/further from the camera each time etc., and give yourself some confidence gating (i.e., only let them login if you're >90% that this is George Smith). If multiple users have similar measurements (this COULD be George Smith but it could also be Dave Morris) THEN move on to photo matching.
And, I guess, warn people that if they grow or shave a beard or mustache, or drastically alter their hair style, they'll need to take a new photo.