计算机工程与应用 ›› 2023, Vol. 59 ›› Issue (3): 166-174.DOI: 10.3778/j.issn.1002-8331.2206-0222

• 模式识别与人工智能 • 上一篇    下一篇

融合注意力机制的轻量级戴口罩人脸识别算法

叶子勋,张红英,何昱均   

  1. 1.西南科技大学 信息工程学院,四川 绵阳 621010
    2.西南科技大学 特殊环境机器人技术四川省重点实验室,四川 绵阳 621010
    3.西南科技大学 计算机科学与技术学院,四川 绵阳 621010
  • 出版日期:2023-02-01 发布日期:2023-02-01

Lightweight Masked Face Recognition Algorithm Incorporating Attention Mechanism

YE Zixun, ZHANG Hongying, HE Yujun   

  1. 1.School of Information Engineering, Southwest University of Science and Technology, Mianyang, Sichuan 621010, China
    2.Robot Technology Used for Special Environment Key Laboratory of Sichuan Province, Southwest University of Science and Technology, Mianyang, Sichuan 621010, China
    3.School of Computer Science and Technology, Southwest University of Science and Technology, Mianyang, Sichuan 621010, China
  • Online:2023-02-01 Published:2023-02-01

摘要: COVID-19的全球化大流行使得佩戴口罩出行成为人们生活中的常态,这种防疫措施给人脸识别算法带来了新的挑战。针对这一问题,提出了一种口罩遮挡下的轻量级人脸识别算法,该算法改进GhostNet为主干特征提取网络;提出了融合空间注意力机制的FocusNet特征加强提取网络,使模型聚焦于未被口罩遮挡的上半脸区域;针对当前口罩遮挡人脸数据集不充分的问题,提出了一种采用三维人脸网络生成添加口罩遮挡的数据增强方法。实验表明,所提出的改进模型与基准模型相比,模型参数量降低84%的同时,戴口罩人脸的识别率提升4.29个百分点,较好地平衡了速度与精度。

关键词: 戴口罩人脸识别, 注意力机制, 三维人脸网格生成

Abstract: The globalization pandemic of COVID-19 has made wearing masks to become a norm in people’s lives, and this preventive measure brings new challenges to face recognition algorithms. To address this problem, this paper proposes a lightweight masked face recognition algorithm. Firstly, this network introduces GhostNet as the backbone feature extraction network to improve the recognition speed. Secondly a FocusNet feature enhancement extraction network incorporating spatial attention mechanism is proposed to make the model focus on the upper half of the face region that are not covered by masks. Then, in order to overcome the problem of inadequate masked face dataset, a data augmentation method using 3D face mesh is proposed to add face mask. Finally, the experimental results show that, compared with the benchmark model, the proposed model reduces the number of model parameters by 84%, while the AP of masked face recognition increases by 4.29?percentage points, which better balances speed and accuracy.

Key words: masked face recognition, attention model, 3D face mesh generation