The widespread deployment of face recognition-based biometric systems has made face Presentation Attack Detection(PAD), in other words, face anti-spoofing, an increasingly critical issue. Face anti-spoofing is usually combined with face recognition technology to form a complete system and deploy it to the real scene.
We use the modified CDCN++ network for face anti-spoofing. In the case that the generalization performance of the model trained directly with the complete input image is poor, we try to extract the face from the original training image by MTCNN for training the model (giving full play to the advantages of the model), and use Gamma transformation in the data enhancement stage to enhance the robustness of the model to the ambient light. As a result, the accuracy of model in OULU test set is 99.5%, and the performance in B_test is improved to 76.3%. At last, we introduce the face depth map as a auxiliary supervision, and the model keep the high accuracy rate (97.03%) of Oulu test set while the accuracy in the B_test is 89.18%.
涉及train_model.py,Load_data_train.py,Load_data_test.py,Load_data_test1.py等
支持jpg和JPG格式的图片; 涉及model_test.py,Load_data_test4.py等