In this paper, we address the problem of face recognition with masks. Given the global health crisis caused by COVID-19, mouth and nose-covering masks have become an essential everyday-clothing-accessory. This sanitary measure has put the state-of-the-art face recognition models on the ropes since they have not been designed to work with masked faces. In addition, the need has arisen for applications capable of detecting whether the subjects are wearing masks to control the spread of the virus. To overcome these problems a full training pipeline is presented based on the ArcFace work, with several modifications for the backbone and the loss function. From the original face-recognition dataset, a masked version is generated using data augmentation, and both datasets are combined during the training process. The selected network, based on ResNet-50, is modified to also output the probability of mask usage without adding any computational cost. Furthermore, the ArcFace loss is combined with the mask-usage classification loss, resulting in a new function named Multi-Task ArcFace (MTArcFace). Experimental results show that the proposed approach highly boosts the original model accuracy when dealing with masked faces, while preserving almost the same accuracy on the original non-masked datasets. Furthermore, it achieves an average accuracy of 99.78% in mask-usage classification.
翻译:在本文中,我们用面罩来应对面部识别问题。 鉴于 COVID-19 造成的全球健康危机, 口罩和鼻罩面罩已成为日常基本衣物使用工具。 这一卫生措施将最先进的面部识别模型放在绳子上, 因为没有设计出能用面罩工作。 此外, 需要应用能够检测对象是否戴面罩来控制病毒传播的应用程序。 为了克服这些问题, 在 ArcFace 工作的基础上展示了完整的培训管道, 并对骨干和损失功能做了一些修改。 从最初的面部识别数据集中, 利用数据增强生成了一个隐藏的版本, 并在培训过程中将这两个数据集结合在一起。 以 ResNet- 50 为基础的选定网络也进行了修改, 在不增加计算成本的情况下输出使用面罩的可能性。 此外, ArcFace 损失与面具分类损失结合在一起, 导致了一个名为 Multi- Task Arc Face (MTARcFace) 的新功能。 实验结果显示, 在处理原始数据分类时, 保存原始模型的准确性几乎达到原始格式时, 99 。