March 2019
Intermediate to advanced
532 pages
13h 2m
English
OpenCV provides support to perform face recognition (https://docs.opencv.org/4.0.1/dd/d65/classcv_1_1face_1_1FaceRecognizer.html). Indeed, OpenCV provides three different implementations to use:
These implementations perform the recognition in different ways. However, you can use any of them by changing only the way the recognizers are created. More specifically, to create these recognizers, the following code is necessary:
face_recognizer = cv2.face.LBPHFaceRecognizer_create()face_recognizer = cv2.face.EigenFaceRecognizer_create()face_recognizer = cv2.face.FisherFaceRecognizer_create()
Once created, and independently of the specific internal algorithm ...