Facial Mask Detection Using Stacked CNN Model
DOI:
https://doi.org/10.32628/CSEIT206553Keywords:
Facial Mask, Stacked CNN, Object DetectionAbstract
The coronavirus outbreak has affected the whole world critically. Amongst all other things, wearing a mask nowadays is mandatory to avoid the spread of the virus according to the World Health Organization. All the people in the country prefer to live a salubrious life by wearing a mask in public gatherings to avoid contracting the deadly virus. Recognizing faces wearing a mask is often a tedious job as there are no substantial datasets available comprising of masked as well as unmasked images. In this paper, we propose a stacked Conv2D model that is highly efficient for the detection of facial masks. Such convolutional neural networks work effectively as they can deduce even minute pixels of the images. The proposed model is a stack of 2-D convolutional layers with relu activations as well as Max Pooling and we implemented this model by using Gradient Descent for training and binary cross-entropy as a loss function. We trained our model on an amalgam of two datasets that are RMFD (Real World Masked Face Dataset) and Kaggle Datasets. Overall, we achieved a validation/testing accuracy of 95% and a training accuracy of 97%. In addition to this, we also developed an email notification system that sends an email whenever a person is entering without a mask and it will also prompt the user to wear the mask before entering into the system. Such a system is beneficial to large multinational companies and can be deployed there as the spread of viruses there is high because employees are from different regions.
References
- Ivan Laptev. Modeling and visual recognition of human actions and interactions. Computer Vision and Pattern Recognition. Ecole Normale Superieure de Paris - ENS Paris, 2013.
- Coronavirus Update Live(24/7) Online . Available at: www.worldometers.info/coronavirus/
- Rota PA, Oberste MS, Monroe SS, Nix WA, Campagnoli R, Icenogle JP, Peñaranda S, Bankamp B, Maher K, Chen MH, Tong S, Tamin A, Lowe L, Frace M, DeRisi JL, Chen Q, Wang D, Erdman DD, Peret TC, Burns C, Ksiazek TG, Rollin PE, Sanchez A, Liffick S, Holloway B, Limor J, McCaustland K, Olsen-Rasmussen M, Fouchier R, Günther S, Osterhaus AD, Drosten C, Pallansch MA, Anderson LJ, Bellini WJ. Characterization of a novel coronavirus associated with severe acute respiratory syndrome. Science. 2003 May 30;300(5624):1394-9. doi: 10.1126/science.1085952. Epub 2003 May 1. PMID: 12730500.
- Fang, Yaqing & Nie, Yiting & Penny, Marshare. (2020). Transmission dynamics of the COVID‐19 outbreak and effectiveness of government interventions: A data‐driven analysis. Journal of Medical Virology. 92. 10.1002/jmv.25750.
- Regis Vaillant, Christophe Monrocq, & Yann Le Cun. (1994). An Original Approach for the Localization of Objects in Images.
- Wang L, Chu J (2011) Fused multi-sensor information image stitching. In: Proceedings of the international conference on intelligent science and intelligent data engineering, F. Springer
- Viola and M. Jones, "Rapid object detection using a boosted cascade of simple features," Proceedings of the 2001 IEEE Computer Society Conference on Computer Vision and Pattern Recognition. CVPR 2001, Kauai, HI, USA, 2001, pp. I-I, doi: 10.1109/CVPR.2001.990517.
- Girshick, J. Donahue, T. Darrell and J. Malik, "Rich Feature Hierarchies for Accurate Object Detection and Semantic Segmentation," 2014 IEEE Conference on Computer Vision and Pattern Recognition, Columbus, OH, 2014, pp. 580-587, doi: 10.1109/CVPR.2014.81.
- Girshick, "Fast R-CNN," 2015 IEEE International Conference on Computer Vision (ICCV), Santiago, 2015, pp. 1440-1448, doi: 10.1109/ICCV.2015.169.
- Redmon, S. Divvala, R. Girshick and A. Farhadi, "You Only Look Once: Unified, Real-Time Object Detection," 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, 2016, pp. 779-788, doi: 10.1109/CVPR.2016.91.
- Mingjie Jiang, Xinqi Fan, & Hong Yan. (2020). RetinaMask: A Face Mask detector.
- Lin, R. 2020. Face Detection and Segmentation Based on Improved Mask R-CNN. Discrete Dynamics in Nature and Society, 2020, p.9242917.
Downloads
Published
Issue
Section
License
Copyright (c) IJSRCSEIT

This work is licensed under a Creative Commons Attribution 4.0 International License.