Once we know the region in which the face is located, we can perform various kinds of isolation techniques to extract the face from the overall image.
One challenge to deal with is that faces in images may be turned in different directions, making them look different to the machine.
To solve this issue, we will warp each image so that the eyes and lips are always in the sample place in the provided images. This will make it a lot easier for us to compare faces in the next steps. To do so, we are going to use an algorithm called face landmark estimation.