Face recognition is becoming increasingly important as our identities are digitalized. We are moving away further from the passwords and PIN numbers. Today, biometric sensors are available on all security devices and smartphones.
Innovation such as biometric is widely used now in place of the PIN and password. However facial recognition has started to rule these and will offer another level of security and flexibility.
Let's learn how face recognition works!!
Face Recognition works in 4 steps:
- Detect face in image.
- Compute Facial features
- Compare facial feature against known faces.
- Make a prediction.
Thanks to OpenCV , it makes the face recognition easy for any beginner. OpenCV comes with three built in face recognizers algorithms.
- Eigen Faces : cv2.face.createEigenFaceRecognizer()
- FisherFaces: cv2.face.createFisherRecognizer()
- Local Binary Patterns Histograms: cv2.face.createLBPHFaceRecognizer()
Implementation in Python:
Let's go ahead and dive into some code.Training the classifier
Predicting
Subscribe and Download Code.
If you like this post,.Subscribe
To download the code: Click here.
If you have any doubt or suggestion , feel free to ask anything in the comment section.
Thanks.
Comments
Post a Comment