Deep Learning Based Real-Time Facial Mask Detection and Crowd Monitoring


  • Chan-Yun Yang Department of Electrical Engineering, National Taipei University, Taiwan
  • Hooman Samani School of Engineering, Computing and Mathematics, University of Plymouth, United Kingdom
  • Nana Ji Shandong Engineering Research Center for Marine Science, Qingdao, China
  • Chunxu Li Faculty of Science and Engineering, Swansea University, United Kingdom
  • Ding-Bang Chen Department of Electrical Engineering, National Taipei University, Taiwan
  • Man Qi School of Engineering, Technology and Design, Canterbury Christ Church University, United Kingdom



Mask R-CNN, object detection, people flow control, deep learning, transfer learning


During the Covid pandemic, the importance of wearing mask has been noted globally. Additionally, crowded human clusters facilitated the transmission of the virus, which brings up the need for new systems for monitoring such situations. To address such issues, this research proposes an object recognition visual system based on deep learning to monitor the mask-wearing in a certain space and the control of the number of people indoors as an important tool during an epidemic. This research mainly investigates two types of identification. The first is to monitor whether people entering the site wear a mask at the entrance and exit of the field, and the second is to count the number of people entering a specific area. Experimental results show that by utilising the visual sensor, it is possible to detect and identify the people who frequently enter and exit in real-time. An advanced transfer learning approach has been employed to achieve the best discrimination performance. The actual training results prove that the migration learning Mask R-CNN algorithm produced by this method and the original Mask R-CNN algorithm have increased the mAP by 3 %, reaching a mAP of 96 %. In addition, the accuracy of the random sampling and identification in actual scenes has reached 92.1 %. The developed deep learning vision system has an enhanced identification ability for the verification and analysis of actual scenes and has a great application potential.


Download data is not yet available.




How to Cite

Yang, C.-Y., Samani, H., Ji, N., Li, C., Chen, D.-B., & Qi, M. (2022). Deep Learning Based Real-Time Facial Mask Detection and Crowd Monitoring. COMPUTING AND INFORMATICS, 40(6), 1263–1294.

Most read articles by the same author(s)