During the SARS-Cov-2 pandemic, mask-wearing became an effective tool to prevent spreading and contracting the virus. The ability to monitor the mask-wearing rate in the population would be useful for determining public health strategies against the virus. However, artificial intelligence technologies for detecting face masks have not been deployed at a large scale in real-life to measure the mask-wearing rate in public. In this paper, we present a two-step face mask detection approach consisting of two separate modules: 1) face detection and alignment and 2) face mask classification. This approach allowed us to experiment with different combinations of face detection and face mask classification modules. More specifically, we experimented with PyramidKey and RetinaFace as face detectors while maintaining a lightweight backbone for the face mask classification module. Moreover, we also provide a relabeled annotation of the test set of the AIZOO dataset, where we rectified the incorrect labels for some face images. The evaluation results on the AIZOO and Moxa 3K datasets showed that the proposed face mask detection pipeline surpassed the state-of-the-art methods. The proposed pipeline also yielded a higher mAP on the relabeled test set of the AIZOO dataset than the original test set. Since we trained the proposed model using in-the-wild face images, we can successfully deploy our model to monitor the mask-wearing rate using public CCTV images.
翻译:在SARS-Cov-2大流行期间,戴面具成为防止传播和感染病毒的有效工具。监测人口中戴面具率的能力对于确定防止病毒的公共卫生战略是有用的。然而,在现实生活中没有大规模地部署用于检测面罩的人工智能技术,以测量公众戴面具的比例。在本文中,我们提出了一个由两个不同的模块组成的两步面罩检测方法,包括:1个面部检测和校正,2个面部分类。这一方法使我们能够试验面部检测和面罩分类模块的不同组合。更具体地说,我们实验了PyramidKey和RetinaFace作为脸部检测器,同时为面罩分类模块保留了轻量的骨架。此外,我们还为AIZOO数据集的测试集重新贴了标签,我们纠正了某些面部图像的错误标签。AIZOOO和Moxa 3K数据集的评价结果显示,拟议的面罩检测管道超过国家标准。我们拟议在公开版上测试的面部标定的图像,因此,我们还成功地进行了测试。