Department of Medicine and Health Sciences "Vincenzo Tiberio," University of Molise, Campobasso, Italy.
Institute for Informatics and Telematics, National Research Council of Italy, Pisa, Italy.
J Am Med Inform Assoc. 2021 Jul 14;28(7):1548-1554. doi: 10.1093/jamia/ocab052.
Due to the COVID-19 pandemic, our daily habits have suddenly changed. Gatherings are forbidden and, even when it is possible to leave the home for health or work reasons, it is necessary to wear a face mask to reduce the possibility of contagion. In this context, it is crucial to detect violations by people who do not wear a face mask.
For these reasons, in this article, we introduce a method aimed to automatically detect whether people are wearing a face mask. We design a transfer learning approach by exploiting the MobileNetV2 model to identify face mask violations in images/video streams. Moreover, the proposed approach is able to localize the area related to the face mask detection with relative probability.
To asses the effectiveness of the proposed approach, we evaluate a dataset composed of 4095 images related to people wearing and not wearing face masks, obtaining an accuracy of 0.98 in face mask detection.
The experimental analysis shows that the proposed method can be successfully exploited for face mask violation detection. Moreover, we highlight that it is working also on device with limited computational capability and it is able to process in real time images and video streams, making our proposal applicable in the real world.
由于 COVID-19 大流行,我们的日常生活习惯突然发生了变化。禁止聚会,即使出于健康或工作原因可以离开家,也有必要戴口罩以降低感染的可能性。在这种情况下,检测不戴口罩的人的违规行为至关重要。
出于这些原因,在本文中,我们介绍了一种旨在自动检测人们是否戴口罩的方法。我们设计了一种迁移学习方法,利用 MobileNetV2 模型识别图像/视频流中的口罩违规行为。此外,所提出的方法能够以相对概率定位与口罩检测相关的区域。
为了评估所提出方法的有效性,我们评估了一个包含 4095 张与人戴口罩和不戴口罩相关的图像的数据集,在口罩检测方面的准确率达到 0.98。
实验分析表明,所提出的方法可成功用于口罩违规检测。此外,我们强调它也可以在计算能力有限的设备上工作,并且能够实时处理图像和视频流,使我们的方案适用于现实世界。