一种改进的多任务级联网络人脸检测算法研究
2021-08-09周航蔡茂国吴涛沈冲冲
周航 蔡茂国 吴涛 沈冲冲



摘 要:传统人脸检测算法在复杂环境背景下一直存在着检测准确率及效率低等问题。近年来,得益于人脸数据集的增长以及计算机硬件的极速发展,使用深度神经网络的人脸检测算法在准确度方面已有很大提升,但使用的模型结构越来越复杂,检测速度也相对变慢。本文提出一种改进的多任务卷积神经网络(Multi-task convolutional neural networks,MTCNN)算法。在制造數据集时更改IOU阈值参数,来获取更多、更精确的人脸样本;对与置信度损失有关的交叉熵损失函数和与偏移量损失有关的均方差函数求均值,使得整个网络收敛得更加平稳。经在AFW、PASCAL以及FDDB数据集上实验,与传统算法相比,该算法在保证实时性的同时提升了检测准确率,可应用于追求更高准确率的人脸检测系统。
关键词: 深度神经网络; MTCNN; 人脸检测
文章编号: 2095-2163(2021)03-0172-05 中图分类号: TP391 文献标志码: A
【Abstract】Traditional face detection algorithms have always had problems such as low detection accuracy and low efficiency in the context of complex environments. In recent years, it has benefited from the growth of face data sets and the rapid development of computer hardware. Face detection algorithms using deep neural networks are in accuracy. This aspect has been greatly improved, but the structure of the model used is becoming more and more complex. The detection speed is relatively slow. Therefore, it is very important to design a detection model that takes into account both accuracy and real-time performance. This paper proposes an improved multi-task convolutional neural networks(MTCNN) algorithm.The first in the manufacturing data sets changes the IOU threshold parameter to obtain a more accurate face samples. Secondly, the cross emotion loss function related to the confidence loss and the average of the mean square error function related to the offset loss make the convergence of the entire network more stable. After experiments on the AFW, PASCAL and FDDB data sets, compared with traditional algorithms, this algorithm improves the detection accuracy while ensuring real-time performance, which could be applied to face detection systems pursuing higher accuracy.
【Key words】 deep neural network; MTCNN; face detection
0 引 言
人脸检测已广泛应用于人们的日常生活中,如公共刑侦追逃[1]、考勤打卡、金融机构的门禁控制、自动驾驶以及机器人等都用到了人脸检测技术。人脸检测是计算机视觉和模式识别的重要应用方向之一,是解决与面部相关工作的前提。例如,人脸识别、人脸表情识别、活体检测[2]等。将检测到的人脸图像提取出来,作为后续工作的输入信息,可以大大减少计算量。面部检测算法可分为两大类:基于手工特征提取的人脸检测算法和基于深度学习的人脸检测算法。Viola等人[3] 提出的级联人脸检测算法,利用Haar-Like特征和AdaBoost级联分类器,实现了良好的实时性能。……
