Understanding face recognition in one article

Face recognition is a method of identity recognition, the purpose of which is to determine what the identity of a face is in pictures and videos.

This article will introduce in detail the four characteristics, four steps, five difficult points and the development trajectory of face recognition.

 

What is face recognition?

Face recognition is computer vision-computer vision Typical applications in the field.

The purpose of face recognition is to determine the identity of the face in pictures and videos (videos are composed of pictures).

Face recognition is a type of identity recognition, which is similar to ID card identification, fingerprint recognition, and iris recognition. You can compare face recognition with the familiar ID cards:

Face recognition is a type of identity recognition

  1. Input information (open ID card-input face information)
  2. Store the information in the database (ID information-face information)
  3. When you need to verify your identity, compare the newly collected information with database information (scan ID card-swipe your face)

 

Face recognition has 4 characteristics

Compared with other identity recognition, face recognition has four characteristics:

4 features of face recognition

  1. Convenience. Faces are biometric and do n’t need to carry something like an ID card
  2. Not mandatory. The recognition process does not even require the cooperation of the object, as long as the face is captured, it can be recognized, for example, in the field of security.
  3. Non-contact. There is no need to contact the device, which is more secure than a fingerprint.
  4. Parallel processing. When there are multiple faces in a photo, they can be processed together. Unlike fingerprints and irises, one by one is required.

Based on the above characteristics, face recognition is being widely used in various fields. Everyone can see the application of face recognition everywhere in life.

 

4 steps for face recognition

There are 4 key steps in the face recognition process:

  1. Face Detection
  2. Face alignment
  3. Face encoding
  4. Face matching

4 steps for face recognition

The four steps are explained in detail below.

Face Detection

The purpose of face detection is to find the position of the face in the picture. When a face is found in a picture, no matter who the face is, the coordinate information of the face will be marked or the face will be cut out.

Directional Gradient Histogram (HOG) can be used to detect the face position. First gray the picture, then calculate the gradient of the pixels in the image. By converting the image into a HOG form, the face position can be obtained.

Face detection method-HOG

Face alignment

Face alignment is to align face images of different angles into the same standard shape.

First locate the feature points on the face, and then use geometric transformation (affine, rotation, scaling) to align the feature points (displace the eyes, mouth, etc. to the same position).

Face alignment-feature point alignment

Face encoding

The pixel values ​​of the face image are converted into compact and discriminable feature vectors, which is also called a template. Ideally, all faces of the same subject should be mapped to similar feature vectors.

Face encoding

Face matching

In the face matching building module, the two templates are compared to get a similarity score, which gives the possibility that both belong to the same subject.

Face matching

 

5 Difficulties in Face Recognition

The presentation of face images in the real world is highly variable. So face recognition is also one of the most challenging biometrics methods. Where face images are variable include:

  1. Head pose
  2. age
  3. Occlusion
  4. Lighting conditions
  5. Facial expressions

5 Difficulties in Face Recognition

 

Development track of face recognition algorithm

The face recognition field has also transitioned from traditional machine learning algorithms to deep learning algorithms.

Development track of face recognition algorithm

Traditional machine learning algorithms

During the machine learning phase, face recognition also went through three important stages:

  1. Geometric feature stage
  2. Representational Stage
  3. Texture feature stage

Deep learning algorithms

In the deep learning phase, the development of the algorithm also went through three stages:

  1. From the initial VGG network to the Inception network to the Resnet network, the network model generally shows a deeper and wider trend.
  2. These vendors, such as Despise and Shang Tang, who have achieved good results in academic open competitions, began to develop actual business as a starting point. By continuously expanding their actual data collection, the algorithm performance is gradually improving.
  3. In addition to further increasing the amount of data to improve the performance of the algorithm, contrary to the first stage, everyone began to study the lightweight of the network without reducing the recognition performance. The main purpose of lightweighting is two, one is to improve the speed of the algorithm, and even can be deployed to the mobile end; the other is to facilitate hardware implementation, so that the face recognition algorithm can be directly made into a hardware module.

To learn more about the technical details of the different stages, you can read this article "Understand the development of face recognition technology in one article"

 

Typical applications of face recognition

The application of face recognition is becoming more and more widespread. As long as it is related to identity recognition, it is possible to use face recognition. A few typical application scenarios are listed below.

  1. Access control system
  2. security system
  3. Unmanned supermarket
  4. EPassport and ID
  5. Autonomous service system (such as ATM)
  6. Information security systems, such as face payments
  7. Entertainment applications, such as some props in Douyin

 

Baidu Encyclopedia + Wikipedia

Baidu Encyclopedia version

Face recognition is a biometric recognition technology based on human facial feature information for identification. A series of related techniques for capturing an image or video stream containing a face with a camera or a camera, and automatically detecting and tracking the face in the image, and then performing face recognition on the detected face, usually called portrait recognition, face recognition .

Read More

Wikipedia version

The facial recognition system is capable of recognizing or verifying digital images or video frames from a person from a video source. Face recognition systems have a variety of methods to work with, but in general they work by comparing selected facial features in a given image to faces in a database. It is also described as a biometric artificial intelligence based application that uniquely identifies a person based on a person's facial texture and shape analysis mode.

Although originally a form of computer application, it has recently gained wider use in mobile platforms and other forms of technology, such as robotics. It is commonly used as access control in security systems and can be compared to other biometric technologies such as fingerprint or eye iris recognition systems. Although facial recognition systems are less accurate than biometric recognition techniques for iris recognition and fingerprint recognition, they are widely used due to their non-contact and non-invasive processes. Recently, it has also become popular as a business identification and marketing tool. Other applications include advanced human-computer interaction, video surveillance, automatic image indexing and video databases.

Read More