Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 1.02 KB

File metadata and controls

17 lines (11 loc) · 1.02 KB

Auto-Facial-Recognition-Module-with-Raspberry-Pi

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.