@ArrowLLL
2018-07-27T20:23:31.000000Z
字数 4327
阅读 1827
Study-Note
face-recognization
problem: Face detection and alignment
This paper proposes a new framework to integrate these two tasks using unified cascaded CNNs by multi-task learning. The proposed CNNs consist of three stages:
- produces candidate windows quickly through a shallow CNN
- refines the windows to reject a large number of non-faces windows through a more complex CNN
- use a more powerful CNN to refine the result and output facial landmarks positions.
Contribution
1. propose a new cascaded CNNs based frame work for joint face detection and alignment, and carefully design lightweight CNN architrcture for real time performance.
2. propose an effective method to conduct online hard sample mining to improve the performance.
3. Extensive experiments are conducted on challenging benchmarks
Given an image, we initially resize it to different scales to build an image pyramid, which is the input of the following three-stage cascaded framework.
aim to describe the face in more details, output five facial landmarks' position
leverage three tasks to train our CNN detectors, which were output of three stages' output.
face/non-face classification
for each sample , we use the cross-entropy loss:
- is the probality pruduced by the network that indicates a sample being a face.
- denotes the ground-truth label
bounding box regression
Predict the offset between each candidate window and the nearest ground truth, we employ the Euclidean loss for each sample
- regression target obtained from the network
- is the ground-truth coordinate.
- , including [left, top, height, width]
facial landmark localization
also be formulated as a regression problem and we minimize the Euclidean loss:
- is the facial landmark's coordinate obtained from the network
- is the groundtruth coordinate
- , including [L_eye, R_eye, nose, left mouth corner, right mouth corner], for every element.
Multi-source training
The overall learning target can be formulated as below to synthesize three different tasks
- is the number of training sapmle
- denotes on the task importance
- in P-Net and R-Net
- in O-Net
- is the sample type indicator. for different types of training images in the learning process, such as face, non-face and partially aligned face.
- use non-face as an example, we only compute , so the other are set to . This is the meaning of as a sample type indicator.
Online Hard sample mining mining
in each mini-batch, we sort the loss computed in the forward propagation phase from all samples and select the top 70% of them as hard samples. Then we only compute the gradient from the hard samples in the backward propagation phase. That means we ignore the easy samples that are less helpful to strengthen the detector while training.
Four different kinds of data annotation:
and
WIDER FACE and CelebA
stage_1的模型基础: Multi-view Face Detection Using Deep Convolutional Neural Networks
multiple CNNs for face detection: A Convolutional Neural Network Cascade for Face Detection
Online Hard sample mining: Training Region-Based Object Detectors With Online Hard Example Mining
landmark 比较对象:Facial Landmark Detection by Deep Multi-task Learning
Dataset and Benchmark
1. FDDA:FDDB: A Benchmark for Face Detection in Unconstrained Settings
2. WIDER FACE: WIDER FACE: A Face Detection Benchmark
3. AFLW: Annotated Facial Landmarks in the Wild: A Large-scale, Real-world Database for Facial Landmark Localization
4. CelebA: Deep Learning Face Attributes in the Wild