Open Access iconOpen Access



Fast and Accurate Detection of Masked Faces Using CNNs and LBPs

Sarah M. Alhammad1, Doaa Sami Khafaga1,*, Aya Y. Hamed2, Osama El-Koumy3, Ehab R. Mohamed3, Khalid M. Hosny3

1 Department of Computer Sciences, College of Computer and Information Sciences, Princess Nourah bint Abdulrahman University, P.O. Box 84428, Riyadh, 11671, Saudi Arabia
2 Computer Science Department, Sinai University, Arish, North Sinai, Egypt
3 Department of Information Technology, Faculty of Computers and Informatics, Zagazig University, Zagazig, Egypt

* Corresponding Author: Doaa Sami Khafaga. Email: email

Computer Systems Science and Engineering 2023, 47(3), 2939-2952.


Face mask detection has several applications, including real-time surveillance, biometrics, etc. Identifying face masks is also helpful for crowd control and ensuring people wear them publicly. With monitoring personnel, it is impossible to ensure that people wear face masks; automated systems are a much superior option for face mask detection and monitoring. This paper introduces a simple and efficient approach for masked face detection. The architecture of the proposed approach is very straightforward; it combines deep learning and local binary patterns to extract features and classify them as masked or unmasked. The proposed system requires hardware with minimal power consumption compared to state-of-the-art deep learning algorithms. Our proposed system maintains two steps. At first, this work extracted the local features of an image by using a local binary pattern descriptor, and then we used deep learning to extract global features. The proposed approach has achieved excellent accuracy and high performance. The performance of the proposed method was tested on three benchmark datasets: the real-world masked faces dataset (RMFD), the simulated masked faces dataset (SMFD), and labeled faces in the wild (LFW). Performance metrics for the proposed technique were measured in terms of accuracy, precision, recall, and F1-score. Results indicated the efficiency of the proposed technique, providing accuracies of 99.86%, 99.98%, and 100% for RMFD, SMFD, and LFW, respectively. Moreover, the proposed method outperformed state-of-the-art deep learning methods in the recent bibliography for the same problem under study and on the same evaluation datasets.


Cite This Article

APA Style
Alhammad, S.M., Khafaga, D.S., Hamed, A.Y., El-Koumy, O., Mohamed, E.R. et al. (2023). Fast and accurate detection of masked faces using cnns and lbps. Computer Systems Science and Engineering, 47(3), 2939-2952.
Vancouver Style
Alhammad SM, Khafaga DS, Hamed AY, El-Koumy O, Mohamed ER, Hosny KM. Fast and accurate detection of masked faces using cnns and lbps. Comput Syst Sci Eng. 2023;47(3):2939-2952
IEEE Style
S.M. Alhammad, D.S. Khafaga, A.Y. Hamed, O. El-Koumy, E.R. Mohamed, and K.M. Hosny "Fast and Accurate Detection of Masked Faces Using CNNs and LBPs," Comput. Syst. Sci. Eng., vol. 47, no. 3, pp. 2939-2952. 2023.

cc This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 358


  • 480


  • 0


Share Link