Transfer learning for mobile real-time face mask detection and localization

Francesco Mercaldo,Antonella Santone
DOI: https://doi.org/10.1093/jamia/ocab052
2021-04-24
Journal of the American Medical Informatics Association
Abstract:Abstract Objective 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. Materials and Methods 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. Results 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. Discussion and Conclusion 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.
information science & library science,computer science, information systems, interdisciplinary applications,health care sciences & services,medical informatics
What problem does this paper attempt to address?