A simple module to achieve facial recognition using Raspberry Pi 3 Model B and a Raspberry Pi Camera Module v2.
- $ 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.