The examples are based on Windows and Raspberry PI.
First of all we need to make a clear distinction between face detection and face recognition. These two terms are too often misused in the various articles I have found.
Face Detection detects the faces in the image. The output will be one ore more rectangles on the faces detected in the image.
Face Recognition identifies the face in input using a faces database. A single face should be given as input, and the output will be the name or class of the image.
The PyFaceRec repository is shared on GitHub with all the described examples ready to be used and modified.
Here is the full set of posts on this topic.
- Install Python 3 and OpenCV library on Windows
- Install Python 3 and OpenCV library on RaspberryPI (ToDo)
- Face detection example
- Face recognition example