This project talks about how the human face can be detected and recognized by the computer. For this we can use Python, OpenCV and Deep Learning Concepts.
Software and Hardware
Raspberry pi 4 with pi camera
Raspbian buster OS
OpenCV
Python
Software Installation
We can use Raspberry pi 4GB microcontroller and install Raspbian Buster which is the latest OS version of Raspberry pi.
Then install OpenCV 4 Software on raspberry pi. The installation procedure of OpenCV 4 is given in below link. https://www.pyimagesearch.com/2019/09/16/install-opencv-4-on-raspberry-pi-4-and-raspbian-buster
Steps involved
To complete this project we need to work on three phases,
1. Detecting Face and Gathering Data
2. Train the Recognizer
3. Face Recognition.
Detail of each step:
1. Detecting Face and Gathering Data
We can use Pi Camera to Detect the face and Gather the face data. Here the color picture is converted to a grey scale picture then the OpenCV program will crop the face separately. This face data is sent to the trainer program.
2. Train the Recognizer
The trainer program will take all the images in folder and converted to grey scale then cropped the face and store it in array.
3. Face Recognition
The cropped face from step1 is used in the trainer program to match with the previously captured pictures which are stored in an array in step2.Once the match is found it will display the respective name of the person.
The above mention Face Recognition Concept can be used to automate the attendance of an Organization. This can also be used by crime department in identifying culprits among the group.
Comentarios