Detection of Certain Objects Wearing Masks in Real Time To Prevent the Spread of the Virus (Yolov3)

Kusdarnowo Hantoro, Rusdianto Rustam, Amir Dahlan


A significant increase in the spread of the corona virus (COVID-19) in the community is currently happening due to people not following the health protocol rules set by the ministry of health. One of the rules is to require people to wear masks while they are outside the home. Measures need to be implemented in anticipation of situations where people do not wear masks in public spaces. Therefore, the establishment of a mask detection system is chosen as a solution in order to solve the mentioned problem above. A real-time identification system for people wearing masks is proposed to be developed in this paper. The system utilizes Yolov3 with Darknet -53 as a deep learning mask detector and OpenCV as a real-time computer vision library, so that people doing activities in a public space captured by a video can be recognized and detected when they do not wear masks . In implementing deep learning, a data set of 4000 images is divided into two classes, i.e.,2000 images with masks f or data testing purposes and another 2000 images without masks for training custom objects. The Extreme Programming (XP) method as part of the Agile Process Model is adopted for system development. Computer language support and the latest system development tools have made it possible to utilize this method in an effort to develop this system rapidly. Requirement Analysis is conducted to obtain required processes before designing system. Writing code and testing the system will be the next step before the system is declared ready to be implemented in the public space. By adopting the XP development method, all of the above steps can be implemented repeatedly until the system delivers the expected results

Full Text:



S. E. Eikenberry et al., “To mask or not to mask: Modeling the potential for face mask use by the general public to curtail the COVID-19 pandemic,” Infect. Dis. Model., vol. 5, pp. 293–308, Jan. 2020.

A. Kumar, Z. J. Zhang, and H. Lyu, “Object detection in real time based on improved single shot multi-box detector algorithm,” Eurasip J. Wirel. Commun. Netw., vol. 2020, no. 1, Dec. 2020.

S. Singh, U. Ahuja, M. Kumar, K. Kumar, and M. Sachdeva, “Face mask detection using YOLOv3 and faster R-CNN models: COVID-19 environment,” vol. 80, pp. 19753–19768, 2021.

J. Redmon, S. Divvala, R. Girshick, and A. Farhadi, “You only look once: Unified, real-time object detection,” Proc. IEEE Comput. Soc. Conf. Comput. Vis. Pattern Recognit., vol. 2016-December, pp. 779–788, Dec. 2016.

Z. Liang, J. Shao, D. Zhang, and L. Gao, “Small object detection using deep feature pyramid networks,” Lect. Notes Comput. Sci. (including Subser. Lect. Notes Artif. Intell. Lect. Notes Bioinformatics), vol. 11166 LNCS, pp. 554–564, 2018.

D. Erhan, C. Szegedy, A. Toshev, and D. Anguelov, “Scalable object detection using deep neural networks,” Proc. IEEE Comput. Soc. Conf. Comput. Vis. Pattern Recognit., pp. 2155–2162, Sep. 2014.

I. D. Apostolopoulos and T. A. Mpesiana, “Covid-19: automatic detection from X-ray images utilizing transfer learning with convolutional neural networks,” Phys. Eng. Sci. Med., vol. 43, no. 2, pp. 635–640, Jun. 2020.

P. Soviany and R. T. Ionescu, “Optimizing the trade-off between single-stage and two-stage deep object detectors using image difficulty prediction,” Proc. - 2018 20th Int. Symp. Symb. Numer. Algorithms Sci. Comput. SYNASC 2018, pp. 209–214, Sep. 2018.

R. Girshick, J. Donahue, T. Darrell, and J. Malik, “Rich feature hierarchies for accurate object detection and semantic segmentation,” Proc. IEEE Comput. Soc. Conf. Comput. Vis. Pattern Recognit., pp. 580–587, Sep. 2014.

S. Bianco, R. Cadene, L. Celona, and P. Napoletano, “Benchmark analysis of representative deep neural network architectures,” IEEE Access, vol. 6, pp. 64270–64277, 2018.

N. D. Nguyen, T. Do, T. D. Ngo, and D. D. Le, “An Evaluation of Deep Learning Methods for Small Object Detection,” J. Electr. Comput. Eng., vol. 2020, 2020.

Z. Cai, Q. Fan, R. S. Feris, and N. Vasconcelos, “A unified multi-scale deep convolutional neural network for fast object detection,” Lect. Notes Comput. Sci. (including Subser. Lect. Notes Artif. Intell. Lect. Notes Bioinformatics), vol. 9908 LNCS, pp. 354–370, 2016.

L. Abraham, A. Urru, N. Normani, M. P. Wilk, M. Walsh, and B. O’flynn, “Hand Tracking and Gesture Recognition Using Lensless Smart Sensors.”

B. Roy, S. Nandy, D. Ghosh, D. Dutta, P. Biswas, and T. Das, “MOXA: A Deep Learning Based Unmanned Approach For Real-Time Monitoring of People Wearing Medical Masks,” Trans. Indian Natl. Acad. Eng., vol. 5, no. 3, pp. 509–518, Sep. 2020.



  • There are currently no refbacks.

Creative Commons License  site stats  
Jurnal CoreIT by is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.