Deteksi Masker Wajah Menggunakan Metode Adjacent Evaluation Local Binary Patterns

  • Randy Wihandika Universitas Brawijaya
Keywords: classification, COVID-19, face mask


The COVID-19 pandemic is still ongoing until 2021 and is likely to continue until an uncertain time. This arises because the spread of the SARS-CoV-2 virus also continued to occur in the community. Of the five points in 5M that has been initiated by the government, the focus of this study is the use of face masks. In this study, an image-based automatic mask detection method using a classification approach is proposed. This method can be used in automated systems to increase public discipline in wearing masks to suppress the spread of the SARS-CoV-2 virus. The classes used in the classification are "with mask" and "without mask". The adjacent evaluation local binary patterns (AELBP) method, which is an extension of the local binary patterns (LBP) method, is used to extract the texture features of each image. Tests were carried out on 2,172 facial images of various sizes, facial accessories, and facial expressions. The test results using the AELBP method show that the accuracy and F-measure are 98.39% and 98.08%, respectively. This result is better than other methods which are also evaluated. In addition, testing of the AELBP method execution time shows that this method is feasible to use on real systems.


Download data is not yet available.


R. Tosepu et al., “Correlation between weather and Covid-19 pandemic in Jakarta, Indonesia,” Science of The Total Environment, vol. 725, p. 138436, Jul. 2020, doi: 10.1016/j.scitotenv.2020.138436.

Y. Muthuraman and I. Lakshminarayanan, “A review of the COVID-19 pandemic and its interaction with environmental media,” Environmental Challenges, vol. 3, p. 100040, Apr. 2021, doi: 10.1016/j.envc.2021.100040.

Z. E. Rasjid, R. Setiawan, and A. Effendi, “A Comparison: Prediction of Death and Infected COVID-19 Cases in Indonesia Using Time Series Smoothing and LSTM Neural Network,” Procedia Computer Science, vol. 179, pp. 982–988, Jan. 2021, doi: 10.1016/j.procs.2021.01.102.

M. Liao et al., “A technical review of face mask wearing in preventing respiratory COVID-19 transmission,” Current Opinion in Colloid & Interface Science, vol. 52, p. 101417, Apr. 2021, doi: 10.1016/j.cocis.2021.101417.

M. Abboah-Offei, Y. Salifu, B. Adewale, J. Bayuo, R. Ofosu-Poku, and E. B. A. Opare-Lokko, “A rapid review of the use of face mask in preventing the spread of COVID-19,” International Journal of Nursing Studies Advances, vol. 3, p. 100013, Nov. 2021, doi: 10.1016/j.ijnsa.2020.100013.

P. Nagrath, R. Jain, A. Madan, R. Arora, P. Kataria, and J. Hemanth, “SSDMNV2: A real time DNN-based face mask detection system using single shot multibox detector and MobileNetV2,” Sustainable Cities and Society, vol. 66, p. 102692, Mar. 2021, doi: 10.1016/j.scs.2020.102692.

A. Kumar, A. Kalia, K. Verma, A. Sharma, and M. Kaushal, “Scaling up face masks detection with YOLO on a novel dataset,” Optik, vol. 239, p. 166744, Aug. 2021, doi: 10.1016/j.ijleo.2021.166744.

M. Loey, G. Manogaran, M. H. N. Taha, and N. E. M. Khalifa, “Fighting against COVID-19: A novel deep learning model based on YOLO-v2 with ResNet-50 for medical face mask detection,” Sustainable Cities and Society, vol. 65, p. 102600, Feb. 2021, doi: 10.1016/j.scs.2020.102600.

M. M. Lambacing and F. Ferdiansyah, “Rancang Bangun New Normal Covid-19 Masker Detektor Dengan Notifikasi Telegram Berbasis Internet Of Things,” Dinamik, vol. 25, no. 2, Art. no. 2, Jul. 2020, doi: 10.35315/dinamik.v25i2.8070.

M. Jiang, X. Fan, and H. Yan, “RetinaMask: A Face Mask detector,” arXiv:2005.03950 [cs], Jun. 2020, Accessed: Jul. 06, 2021. [Online]. Available:

T. Ojala, M. Pietikainen, and D. Harwood, “Performance evaluation of texture measures with classification based on Kullback discrimination of distributions,” in Proceedings of 12th International Conference on Pattern Recognition, Oct. 1994, vol. 1, pp. 582–585 vol.1. doi: 10.1109/ICPR.1994.576366.

J. Tang, Q. Su, B. Su, S. Fong, W. Cao, and X. Gong, “Parallel ensemble learning of convolutional neural networks and local binary patterns for face recognition,” Computer Methods and Programs in Biomedicine, vol. 197, p. 105622, Dec. 2020, doi: 10.1016/j.cmpb.2020.105622.

H. Tang, B. Yin, Y. Sun, and Y. Hu, “3D face recognition using local binary patterns,” Signal Processing, vol. 93, no. 8, pp. 2190–2198, Aug. 2013, doi: 10.1016/j.sigpro.2012.04.002.

Y. Zhang and C. Hua, “Driver fatigue recognition based on facial expression analysis using local binary patterns,” Optik, vol. 126, no. 23, pp. 4501–4505, Dec. 2015, doi: 10.1016/j.ijleo.2015.08.185.

L. Liu, P. Fieguth, G. Zhao, M. Pietikäinen, and D. Hu, “Extended local binary patterns for face recognition,” Information Sciences, vol. 358–359, pp. 56–72, Sep. 2016, doi: 10.1016/j.ins.2016.04.021.

B. Patel, R. P. Maheshwari, and R. Balasubramanian, “Multi-quantized local binary patterns for facial gender classification,” Computers & Electrical Engineering, vol. 54, pp. 271–284, Aug. 2016, doi: 10.1016/j.compeleceng.2015.11.004.

“Adjacent evaluation of local binary pattern for texture classification - ScienceDirect.” (accessed Apr. 09, 2021).

L. Shi, X. Wang, and Y. Shen, “Research on 3D face recognition method based on LBP and SVM,” Optik, vol. 220, p. 165157, Oct. 2020, doi: 10.1016/j.ijleo.2020.165157.

A. Md. Nuruddin Pk, X. Ding, and T. Page, “An Integrated Approach for Face Recognition Using Multi-class SVM,” in 2020 IEEE 5th International Conference on Cloud Computing and Big Data Analytics (ICCCBDA), Apr. 2020, pp. 398–402. doi: 10.1109/ICCCBDA49378.2020.9095692.

M. T. Ghazal and K. Abdullah, “Face recognition based on curvelets, invariant moments features and SVM,” TELKOMNIKA (Telecommunication Computing Electronics and Control), vol. 18, no. 2, Art. no. 2, Apr. 2020, doi: 10.12928/telkomnika.v18i2.14106.

P. Li, H. Wang, Y. Li, and M. Liu, “Analysis of face detection based on skin color characteristic and AdaBoost algorithm,” J. Phys.: Conf. Ser., vol. 1601, p. 052019, Aug. 2020, doi: 10.1088/1742-6596/1601/5/052019.

V. Vansh, K. Chandrasekhar, C. R. Anil, and S. S. Sahu, “Improved Face Detection Using YCbCr and Adaboost,” in Computational Intelligence in Data Mining, Singapore, 2020, pp. 689–699. doi: 10.1007/978-981-13-8676-3_58.

L. Zhong, H. Liao, B. Xu, S. Lu, and J. Wang, “Tied gender condition for facial expression recognition with deep random forest,” JEI, vol. 29, no. 2, p. 023019, Apr. 2020, doi: 10.1117/1.JEI.29.2.023019.

B. Nassih, A. Amine, M. Ngadi, Y. Azdoud, D. Naji, and N. Hmina, “An efficient three-dimensional face recognition system based random forest and geodesic curves,” Computational Geometry, vol. 97, p. 101758, Aug. 2021, doi: 10.1016/j.comgeo.2021.101758.

S. Abbas et al., “BCD-WERT: a novel approach for breast cancer detection using whale optimization based efficient features and extremely randomized tree algorithm,” PeerJ Comput. Sci., vol. 7, p. e390, Mar. 2021, doi: 10.7717/peerj-cs.390.

A. Pinto, S. Pereira, D. Rasteiro, and C. A. Silva, “Hierarchical brain tumour segmentation using extremely randomized trees,” Pattern Recognition, vol. 82, pp. 105–117, Oct. 2018, doi: 10.1016/j.patcog.2018.05.006.

P. Geurts, D. Ernst, and L. Wehenkel, “Extremely randomized trees,” Mach Learn, vol. 63, no. 1, pp. 3–42, Apr. 2006, doi: 10.1007/s10994-006-6226-1.

X. Tan and B. Triggs, “Enhanced Local Texture Feature Sets for Face Recognition Under Difficult Lighting Conditions,” IEEE Transactions on Image Processing, vol. 19, no. 6, pp. 1635–1650, Jun. 2010, doi: 10.1109/TIP.2010.2042645.

“PLBP: An effective local binary patterns texture descriptor with pyramid representation - ScienceDirect.” (accessed Apr. 17, 2021).

B. Patel, R. P. Maheshwari, and B. Raman, “Compass local binary patterns for gender recognition of facial photographs and sketches,” Neurocomputing, vol. 218, pp. 203–215, Dec. 2016, doi: 10.1016/j.neucom.2016.08.055.

A. Hafiane, G. Seetharaman, and B. Zavidovique, “Median Binary Pattern for Textures Classification,” in Image Analysis and Recognition, Berlin, Heidelberg, 2007, pp. 387–398. doi: 10.1007/978-3-540-74260-9_35.

Y. Zhao, W. Jia, R.-X. Hu, and H. Min, “Completed robust local binary pattern for texture classification,” Neurocomputing, vol. 106, pp. 68–76, Apr. 2013, doi: 10.1016/j.neucom.2012.10.017.

How to Cite
Wihandika, R. (2021). Deteksi Masker Wajah Menggunakan Metode Adjacent Evaluation Local Binary Patterns. Jurnal RESTI (Rekayasa Sistem Dan Teknologi Informasi), 5(4), 705 - 712.
Artikel Teknologi Informasi