How does face verification work?

Face verification is used by a lot of popular firms these days. Facebook is famous for the usage of DeepFace for its face verification needs.

There are four main things you must consider when understanding how face verification works:

Input: Scanning an image or a group of images
Process:
Detection of facial features
Feature comparison and alignment
Key pattern representation
Final image classification
Output: Face representation, which is a result of a multilayer neural network
Training data: Involves the usage of thousands of millions of images