This code uses a HaarCascade classifier for facial detection and passes face information to the authenticator, which is trained by me on celebA and myself.
To use yourself:
- upload your data in jpeg or png format under data under 1, replacing whatever is there currently
- go through all the files and replace paths of the file paths of the ones you have organized, which is probably similar
- run augmentation.py to add more augmented data
- run preprocessing.py to obtain all the facial information from the haarclassifier of all the data and label it accordingly (0 for not you, 1 for you)
- run train.py
- run authenticate.py and it will open a screen with your face and bounding boxes and whether your face is authenticated or not, and change the confidence rating to however flexible you want the authenticator to be
NEXT STEPS:
- figure out if multiuser has good confidence
- try out different models for face detection and recognition
- try to create a script to do all of the process of adding a user/authenticating yourself