Real time COVID-19 facemask detection using deep learning
Keywords:
Face Detection, Mask Detection, Convolutional Neural Network (CNN), GUI (Graphics User Interface), PCA (Principal Component Analysis), Haar Cascade AlgorithmAbstract
The COVID-19 pandemic is producing a global health pandemic. According to the World Health Organization (WHO), the utmost effective protection is to wear a face mask in crowded regions/areas. During this pandemic, it is compulsory for every person to wear a mask and maintain social distancing. In the field of Image Processing, Convolutional Neural Networks (CNNs) have risen to prominence as the most common type of image realization/recognition model. Our project's purpose is to research and assess Machine Learning (ML) technologies for identification and recognition of people wearing face masks in any pre-recorded videos, photos, or in actual-time (real- time) circumstances. Our project aims to create a real-time Graphics User Interface based Automated Facial Recognition as well as Mask Detection System. The algorithms used in the proposed methodology are Principal Component Analysis (PCA) and the HAAR Cascade Algorithm. Finally, the result is indicated by a “GREEN” color rectangle box, which would be drawn around the section of the face, which indicates that the person on the camera is wearing a mask, or a “RED” color rectangle box, which indicates that the person on the camera is not wearing a mask. This model achieves 99% accuracy.
Downloads
References
Haddad, J., 2020. “How I Built A Face Mask Detector For COVID-19 Using Pytorch Lightning.” Inamdar M., Mehendale N. “Real-Time Face Mask Identification Using Facemasknet Deep Learning
Network.” SSRN Electron. J. 2020 doi: 10.2139/ssrn.3663305. DOI: https://doi.org/10.2139/ssrn.3663305
Zheng Jun, Hua Jizhao, Tang Zhenglan, Wang Feng “Face detection based on LBP",2017 IEEE 13th International Conference on Electronic Measurement & Instruments. DOI: https://doi.org/10.1109/ICEMI.2017.8265841
Q. B. Sun, W. M. Huang, and J. K. Wu "Face DetectionBased on Color and Local Symmetry Information”, National University of Singapore Heng Mui Keng Terrace, Kent Ridge Singapore.
Heng Mui Keng “Based on Color and Local Symmetry Information”, National University of Singapore Terrace, Kent Ridge Singapore
Wang Yang, Zheng Jiachun "Real-time face detection based on YOLO",1st IEEE International Conference on Knowledge Innovation and Invention 2018 . DOI: https://doi.org/10.1109/ICKII.2018.8569109
Rosebrock, A., 2020. COVID-19: “Face Mask Detector With Opencv, Keras/Tensorflow, And Deep Learning - Pyimagesearch.”
Kumar A., Zhang Z.J., Lyu H. “Object detection in real time based on improved single shot multi-box detector algorithm.” J. Wireless Com. Netw. 2020;2020:204. doi: 10.1186/s13638-020-01826-x. DOI: https://doi.org/10.1186/s13638-020-01826-x
Lin T.Y., Goyal P., Girshick R., He K., Dollar P. “Focal Loss for Dense Object Detection.” IEEE Trans. Pattern Anal. Mach. Intell. 2020 doi: 10.1109/TPAMI.2018.2858826. DOI: https://doi.org/10.1109/TPAMI.2018.2858826
D. o. H. Security, "News Release: Airport Screening While Wearing Masks Test," 04 January 2021.
T. P. o. A. PAI, "Understanding Facial Recognition Systems," 19 February 2020.
M. Loey, G. Mangogaran, T. M.H.N. and K. N.E.M., "A hybrid deep transfer learning model with machine learning methods for face mask detection in the era of the COVID-19 pandemic," National Library of Medicine, 1 January 2021. DOI: https://doi.org/10.1016/j.measurement.2020.108288
Y. Fang, Y. Nie, and M. Penny, “Transmission dynamics of the COVID-19 outbreak and effectiveness of Government interventions: A data-driven analysis,”Journal of medical virology, vol. 92, no. 6, pp. 645 659, 2020. DOI: https://doi.org/10.1002/jmv.25750
Lu, Y., Zhang, L., & Xie, W., 2020. YOLO-compact: “An Efficient YOLO Network for Single Category Realtime Object Detection.” In 2020 Chinese Control and Decision Conference (CCDC). DOI: https://doi.org/10.1109/CCDC49329.2020.9164580
M. M. Rahman, M. M. H. Manik, M. M. Islam, S. Mahmud and J. -H. Kim, "An Automated System to Limit COVID-19 Using Facial Mask Detection in Smart City Network," 2020 IEEE International IOT, Electronics and Mechatronics Conference (IEMTRONICS), 2020. DOI: https://doi.org/10.1109/IEMTRONICS51293.2020.9216386
Soni, A., & Singh, A. P., 2020. “Automatic Motorcyclist Helmet Rule Violation Detection using Tensorflow & Keras in OpenCV.” In 2020 IEEE International Students Conference on Electrical, Electronics and Computer Science (SCEECS). DOI: https://doi.org/10.1109/SCEECS48394.2020.55
G. Yang et al.,(2020) "Face Mask Recognition System with YOLOV5 Based on Image Recognition," 2020 IEEE 6th International Conferenceon Computer and Communications (ICCC), Chengdu, China, pp.1398-1404. DOI: https://doi.org/10.1109/ICCC51575.2020.9345042
S. A. Sanjaya and S. Adi Rakhmawan, (2020) "Face Mask DetectionUsing MobileNetV2 in The Era of COVID-19 Pandemic," 2020 International Conference on Data Analytics for Business and Industry:Way Towards a Sustainable Economy (ICDABI), Sakheer, Bahrain, pp.1-5. DOI: https://doi.org/10.1109/ICDABI51230.2020.9325631
M. S. Islam, E. Haque Moon, M. A. Shaikat and M. Jahangir Alam,(2020) "A Novel Approach to Detect
Face Mask using CNN," 2020 3rd International Conference on Intelligent Sustainable Systems (ICISS),Thoothukudi, India, pp. 800-806.
Lodh. A, U. Saxena, A. khan, A. Motwani, L. Shakkeera and V. Y.Sharmasth, (2020) "Prototype for Integration of Face Mask Detection and Person Identification Model – COVID-19," 2020 4th InternationalConference on Electronics, Communication and Aerospace Technology(ICECA), Coimbatore, India, pp. 1361-1367. DOI: https://doi.org/10.1109/ICECA49313.2020.9297399
S. Susanto, F. A. Putra, R. Analia and I. K. L. N. Suciningtyas, (2020) "The Face Mask Detection For Preventing the Spread of COVID-19 at Politeknik Negeri Batam," 2020 3rd International Conference on Applied Engineering (ICAE), Batam, Indonesia, pp. 1-5. DOI: https://doi.org/10.1109/ICAE50557.2020.9350556
Chen, S., Wei, Y., Xu, Z., Sun, P., & Wen, C., 2020. “Design and Implementation of Second-generation ID Card Number Identification Model based on TensorFlow.” In IEEE International Conference on Information Technology, Big Data and Artificial Intelligence (ICIBA). DOI: https://doi.org/10.1109/ICIBA50161.2020.9276985
Published
How to Cite
Issue
Section
Copyright (c) 2022 International journal of health sciences

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
Articles published in the International Journal of Health Sciences (IJHS) are available under Creative Commons Attribution Non-Commercial No Derivatives Licence (CC BY-NC-ND 4.0). Authors retain copyright in their work and grant IJHS right of first publication under CC BY-NC-ND 4.0. Users have the right to read, download, copy, distribute, print, search, or link to the full texts of articles in this journal, and to use them for any other lawful purpose.
Articles published in IJHS can be copied, communicated and shared in their published form for non-commercial purposes provided full attribution is given to the author and the journal. Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
This copyright notice applies to articles published in IJHS volumes 4 onwards. Please read about the copyright notices for previous volumes under Journal History.