You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A simple module to achieve facial recognition using Raspberry Pi 3 Model B and a Raspberry Pi Camera Module v2.
Implemented using OpenCV.
HaarCascade Classifier and LPBH FaceRecognizer have been used for face detection and recognition
Order of Execution of programs:
$ python cam_test.py - This is to test whether your camera module/webcam is working.
$ python facedetection.py -This is to check whether the camera detects a face
$ python datagather.py -This is to create a user entry and add 50 images of his/her face to the folder "dataset"
$ python trainer.py -This is to train the ML model to recognize the given faces
Add the name of the Face added in the datagather step in the "recognizer.py" file in the names list.Then,
execute $ python recognizer.py -This will detect and recognize the trained faces on the live camera feed.