Keywords

1 Introduction

As an important identity authentication means, biometric identification technologies have been widely used in door control system, criminal investigation and security inspection equipment. Among them, face recognition has attracted extensive attention due to its high security, good stability and easy operation. However, with the development of information technologies, images or videos containing a target’s face can be easily acquired from social network. If they are abused by malicious attackers, it is possible to launch spoofing attacks to face recognition systems [1].

Currently, the researches of face recognition are mainly concentrated on the accurate discrimination of different individuals’ faces in complex scenes, while few works have been done to the authenticity forensics of human faces. This situation leads to the vulnerability of spoofing attacks, such as photo attacks, video attacks and mask attacks.

To counterstrike image printing and video replaying attacks in face recognition systems and improve the detection performance, a non-intrusive face spoofing detection method based on guided image filtering (GIF) [2] and image quality analysis is proposed in this paper, the rationale and motivation are as follows:

  • Guided image filtering has been successfully used in previous works for forgery detection in small-size image. To a certain extent, many spoofing attacks can be regarded as a type of image forgery or manipulation, and they can be effectively detected by using guided image filtering.

  • Guided image filtering can enhance the useful texture component of facial image, and local binary patterns (LBP) operator [3] can extract more powerful texture feature from an enhanced texture space, which has less redundancy information compared with the original facial image.

  • Spoofing faces in photo or video are recaptured by device, and they tend to be more seriously distorted by reproduction process. Classical image quality assessments have potential of analyzing the image quality, and their limitation of sensitivity can be compensated by integrating them with texture features.

In summary, the contributions of this paper are:

  1. (1)

    A face spoofing detection method based on hybrid features is proposed.

  2. (2)

    A new feature space of texture enhancement for face spoofing detection is provided by guided image filtering.

2 The Proposed Method

Based on guided filter [2] and image quality assessment [7], a framework of the face spoofing detection method is presented in Fig. 1. For an input frame (image), it is first normalized to an image with a size of 64 × 64 to decrease the computation complexity and avoid the influence of different size of the input frame. After that, local binary pattern (LBP) features are obtained from the image after guided filtering, and image quality features are calculated from the image and the counterpart after Gaussian filtering. Finally, these features are fed to a support vector machine (SVM) classifier [4], and the output score value describes whether there is a live person or a fake one in front of the camera.

Fig. 1.
figure 1

Framework of the proposed face spoofing detection scheme

Extraction of Guided Filtering Features.

For the normalized facial image, guided filter is implemented for the texture enhancement of R, G, B channels, respectively. Then, LBP operator [3] with P = 8, R = 1 is used for calculating guided LBP facial image. With a guided LBP facial image, a sliding window B with a size of 32 × 32 is used to make a statistics of the LBP coding with the uniform mode. The sliding step is s = 16. Thus, the dimension of the guided filtering features is 59 × 9 = 531.

Extraction of Image Quality Features.

For the normalized facial image, it is first transformed into a grayscale image G, and then a Gaussian low-pass filter (σ = 0.5, size 3 × 3) is used for it. After that, the corresponding distorted image G′ is obtained. In this way, full-reference image quality measures [7] can be calculated from G and G′. Thus, 14 dimensions of image quality features is obtained.

3 Experimental Results and Analysis

Here, the performance of the methods in [5,6,7,8] are compared with that of the proposed method using Replay-Attack database [9] and CASIA database [6]. The results are shown in Table 1 and Fig. 2.

Table 1. Performance comparison using the frame based evaluation
Fig. 2.
figure 2

Detection error tradeoff (DET) curves of different methods. (a) Replay-Attack database. (b) CASIA database

As seen from Table 1 and Fig. 2, the results show that extracting LBP features after guided filtering is able to achieve stable performance across two databases. It also can be found that the fusion of the guided filtering features and image quality features can remedy the weakness of a single kind of features. The average processing time for the test set of the Replay-attack database and CASIA database is 27.80 ms per frame.

4 Conclusions

A face spoofing detection method based on guided filtering and image quality analysis is proposed. The proposed non-intrusive method extracted useful texture features and image quality features from a single facial image, it is fast response and does not require any specific user cooperation. Thus, it can be applied to real-time detection scene.