How much do you know about facial recognition?

How much do you know about facial recognition?

In recent years, with the rapid development of artificial intelligence technology, face recognition is being integrated into people's daily lives, quietly changing people's living habits, such as face payment, face recognition to open the phone, face recognition to pass, etc. So how does the machine recognize that this is a person? How does it identify who it is? Next, let's explore the mystery together and unveil the veil behind this "black technology".

Overview of Face Recognition Technology

Face recognition technology belongs to biometric recognition technology. It is a technology that automatically identifies people based on certain features of a person's face (such as eyes, nose, mouth, eyebrows, etc.). It is also called face recognition, portrait recognition, appearance recognition, face recognition, facial recognition, etc. It mainly uses a camera or a camera to collect images or video streams containing faces, and uses face detection technology to analyze whether there is a face. If there is, it will give the location, size and location information of key facial organs; then extract the identity features contained in this information and compare them with known facial features to identify the identity of each face.

Face Detection

Face detection is the first key step in face recognition and face analysis systems. It is mainly used to solve the problem of "where is the face", accurately calibrate the position and size of the face in the image, and provide it for subsequent face feature analysis and recognition. Early face detection work was mainly based on feature extraction based on carefully designed local descriptors, which can be mainly divided into four categories: knowledge-based face detection methods, model-based face detection methods, feature-based face detection methods, and appearance-based face detection methods. Among them, the more classic works include the Haar cascades classifier and the HOG (Histogram of Oriented Gridients) feature detection algorithm. However, traditional detection has limited accuracy in face detection for challenging images with multiple variation factors.

Figure WIDER FACE: A Face Detection Benchmark

With the vigorous development of deep learning, many face detection methods based on different deep learning architectures have gradually evolved, mainly based on cascade CNN models, R-CNN models, single-shot detector models, feature pyramid network models, Transformer models, etc., which have greatly improved the traditional face detection and recognition in terms of feature extraction, accuracy, and scalability. MTCNN is one of the more outstanding face detection models. This model predicts the positions of faces and landmarks in a coarse-to-fine manner through a three-stage deep convolutional network. The specific steps are as follows: the first stage: quickly generate candidate windows through shallow CNN; the second stage: refine the windows by rejecting a large number of non-face windows through a more complex CNN; the third stage: use a more powerful CNN to refine the results again and output the positions of five facial landmarks.

Facial features

Facial features, also known as facial representations, are certain features of the face, such as face length, face width, lip width, nose length, etc. Facial feature extraction is the process of modeling the features of the face to obtain vectorized facial features. Facial feature extraction can be roughly divided into three categories according to technical characteristics: Holistic methods based on global information, Local feature methods based on local information, and methods based on deep learning. Facial features based on deep learning can automatically learn features from data sets. If the data set can cover enough robust data (such as lighting, posture, expression, etc.), the algorithm can adapt to various challenges. It is also the current mainstream facial feature extraction method.

Face Recognition

Face recognition is the process of face comparison. The similarity of two faces is obtained by comparing the extracted facial features. The judgment method is to compare the Euclidean distance (L2 distance) or cosine distance (cosine distance) between the two features: the smaller the L2 distance, the higher the similarity; the smaller the cosine distance angle, the larger the cosine distance, the higher the similarity. According to the number of comparisons, it can be divided into 1:1 and 1:N. The most common scenario of 1:1 is the person-document comparison, such as the equipment we encounter when taking the high-speed rail. 1:N is to compare 1 face with N faces in the database. For example, in the attendance machine, our face database contains all the face photos of the entire company.

Author: Jin Jianchao

Unit: China Mobile Smart Home Operation Center

<<:  Raising 500,000 babies for others and then having to return them, what is this doing?

>>:  The Starship launch failed, but the next era of spaceflight is coming

Recommend

Wood chips flying! See the wood chipper's amazing chipping skills

In forestry production activities, wood processin...

Don’t be fooled by my short tail, I’m very powerful when hunting!

This is a kitten with eye-catching whiskers on it...

Are nano products a waste of money? In fact, nanotechnology is not just "small"

The word “nano” sounds so technological, so putti...

13 aspects to consider when developing a mobile app

This article is for newcomers to the field of mob...

Why does bottled water expire but well/tap water doesn't?

In our impression, water has always existed on th...

What exactly do the cool people in conspiracy theories want to do?

Coolpad is a powerful company, and China Cool All...

Xiaohongshu KOL distribution model and content marketing methodology

We provide you with a practical summary of brand ...

What is a healing speaker? It can feel your mood

We all know that light and music have a great inf...

How to use advertising materials correctly and optimize Facebook ads

Today I will show you this issue of Facebook'...

How to operate WeChat communities and UGC communities?

Many people who are new to operations often confu...