Professional Documents
Culture Documents
Abstract. The current pandemic caused by COVID- triggering about 13.1 million confirmed cases worldwide
19 outbreak is continuously putting lives into peril. It due to human to human transmission [1]. Studies suggest
has already spread to over 200 countries, some of that prevention of spread of the disease like COVID-19,
which are still fighting heavily to survive. This study including physical or social distancing of at least 1 meter,
aims to promote the importance of disease control and should drastically reduce the risk of infection. Evidence
preventive measures such as the use of face masks in also suggests the role of using face masks and eye
crowded places. An active face masks detection and protection in reducing the infection rate of the disease.
monitoring system can help authorities to identify Although none of these measures ensure complete
people who might be vulnerable to infectious diseases protection against COVID-19, these help in buying time
such as coronavirus. The problem in strategic for the healthcare system to expand, react, and respond.
planning such as allocation of personnel in high risk [2].
areas, due to lack of reliable and prompt means to Flattening the curve of COVID-19 cases is not as easy as
identify COVID-19 cases, is giving much headache to it looks. There has to be more ways to do COVID-19 risk
Filipino community especially to the Philippine analysis. To complement analysis, based on rapid testing,
Government. An artificial neural network-based and improve existing systems, the researchers suggest
system capable of detecting if people in the crowd are having a risk assessment in crowded places, based on the
wearing face masks, will be discussed usage of face masks. In this way, strategic response can
comprehensively in this paper. The implementation of be done actively while waiting for swab test results. With
the study resulted to 99% in all training and testing this in mind, the researchers innovate a system capable of
key parameters. multiple face mask detection in public places using
MobileNetV2 Deep Neural Network (DNN).
Keywords: face and face mask detection, deep neural
network (DNN), computer vision, artificial dataset, 2. REVIEW OF RELATED LITERATURE
MobileNetV2 COVID-19 cases increase daily in the Philippines, hence
the need for a stricter protocol in preventing the spread of
this virus. The World Health Organization (WHO) has
advised several public health and social measures [4] to
1. INTRODUCTION slow down or possibly stop the spread of COVID-19.
Coronavirus disease (COVID-19) emerged in early These measures must be instigated with the full
December 2019 and since then, it ravaged 214 countries cooperation of the entire society [5].
in a span of months, causing 571,527 deaths (as of July Certain documentaries written during COVID-19, MERS
13, 2020) and affecting many aspects of life in almost (Middle East Respiratory Syndrome), and SARS (Severe
every part of the globe [1]. School classes, work, supply Acute Respiratory Syndrome) outbreak, prove that the
chains, travels and more are halted or modified in the best current protocol to maintain at least 1 m physical
effort of reducing the impact of the pandemic [2]. distancing relates with a great decrease in spread and
COVID-19 is a concerning disease which is caused by a infection, more so, with distances over 2 m. These data
novel coronavirus. It comes in various forms of also attest that wearing face masks and Personal
complications in human beings ranging from mild Protective Equipment (PPEs) protects individuals (both
symptoms including respiratory illnesses to severe health-care workers and the public) against contagion.
progressive pneumonia, organ failure, cardiovascular Eye protection (face shield) also serves additional
complications, and ultimately, death [3]. Another cause security. However, none of these interventions offers full
of concern is the unavailability of clinical preventive defense from infection thus, having the need for risk
vaccines or pharmaceutical drugs which can cure the said assessment and several related deliberations [2][5]. There
disease. Another factor to point out is the high effectivity are not enough analyses given the surging amount of
of the disease to transfer from a human host to another, confirmed cases and patients who experience critical
The 9th International Symposium on Computational Intelligence and Industrial Applications (ISCIIA2020)
1
CITIC Jingling Beijing, China, Beijing,
Hotel Beijing, Oct.31-Nov.3,
China, 2020
Oct.31-Nov.3, 2020
COVID-19 Risk Assessment through Multiple Face Mask Detection using MobileNetV2 DNN
3. METHODOLOGY
The implementation of this study was made possible
through three (3) major phases namely: artificial face
mask dataset creation, face mask detector training, and
face mask detector testing. Each of these phases are
subdivided into blocks as illustrated below:
Fig. 4. 68 facial landmark coordinates [19]
Knowing the location of nose and mouth, the loaded
mask image is then applied to ROI and positioned
accordingly to the raw face image. As a result, the
original face image now has a mask on it.
The 9th International Symposium on Computational Intelligence and Industrial Applications (ISCIIA2020)
2
CITIC Jingling Beijing, China, Beijing,
Hotel Beijing, Oct.31-Nov.3,
China, 2020
Oct.31-Nov.3, 2020
COVID-19 Risk Assessment through Multiple Face Mask Detection using MobileNetV2 DNN
The 9th International Symposium on Computational Intelligence and Industrial Applications (ISCIIA2020)
3
CITIC Jingling Beijing, China, Beijing,
Hotel Beijing, Oct.31-Nov.3,
China, 2020
Oct.31-Nov.3, 2020
COVID-19 Risk Assessment through Multiple Face Mask Detection using MobileNetV2 DNN
𝑇𝑟𝑎𝑖𝑛𝑖𝑛𝑔 𝐷𝑎𝑡𝑎
𝑊𝑒𝑖𝑔ℎ𝑡 𝑈𝑝𝑑𝑎𝑡𝑒𝑠 = Eq. (2)
𝐸𝑝𝑜𝑐ℎ
To get the Learning Rate (α) for each epoch, the working
formula is:
1
𝐿𝑒𝑎𝑟𝑛𝑖𝑛𝑔 𝑅𝑎𝑡𝑒 (𝛼) = 𝐼𝐿𝑅 ∗
1+(𝐷𝑒𝑐𝑎𝑦(𝐸𝑝𝑜𝑐ℎ 𝑁𝑜.∗𝑊))
Eq. (3)
Fig.9 Single face images test data (face images from volunteers)
It can be seen from Table 3 that the learning rate
decreases as the no. of epoch increases. This behavior
implies that the neural network takes smaller steps in
learning, allowing it to descend into areas of the loss
landscape that are more optimal [24] [25]. In other words,
obtaining higher accuracy through finding an area with
reasonably low loss [26][27].
The result of training neural network model is shown in
the figures below:
Fig.10 Multiple face images test data (face images from publicly
available images)
The 9th International Symposium on Computational Intelligence and Industrial Applications (ISCIIA2020)
4
CITIC Jingling Beijing, China, Beijing,
Hotel Beijing, Oct.31-Nov.3,
China, 2020
Oct.31-Nov.3, 2020
COVID-19 Risk Assessment through Multiple Face Mask Detection using MobileNetV2 DNN
Fig.11-b Static video frames test data (from publicly available Fig. 12-b Video Stream Frames Test Data
videos)
From the images and video frames above, the probability
percentage of classified items, whether “mask” or “no
mask” is approximately 99%. As the risk of getting
COVID-19 is higher in crowded places, the researchers
also tested the multiple face mask detection system in
publicly available videos with mass gathering. See
Figures 11-b to 11-d.
Acknowledgements
Fig. 12-a Video Stream Frames Test Data The researchers would like to thank the De La Salle
University (DLSU) Intelligent Systems Laboratory (ISL),
Department of Electronics and Communications
Engineering, and Department of Manufacturing and
Engineering Management for the support and learning
resources they provided, and to volunteers for the image
data set.
The 9th International Symposium on Computational Intelligence and Industrial Applications (ISCIIA2020)
5
CITIC Jingling Beijing, China, Beijing,
Hotel Beijing, Oct.31-Nov.3,
China, 2020
Oct.31-Nov.3, 2020
COVID-19 Risk Assessment through Multiple Face Mask Detection using MobileNetV2 DNN
REFERENCES: landmark features to determine the best subset for finding face
orientation,” ICCIDS 2019 - 2nd Int. Conf. Comput. Intell. Data Sci.
[1] Q. Pham, D. C. Nguyen, T. Huynh-The, W. Hwang and P. N. Pathirana, Proc., pp. 17–20, 2019, doi: 10.1109/ICCIDS.2019.8862093
"Artificial Intelligence (AI) and Big Data for Coronavirus (COVID-
[20] A. Mu, “Food categories classification and ingredients estimation
19) Pandemic: A Survey on the State-of-the-Arts," in IEEE Access,
using CNNs on Raspberry Pi 3,” J. Chem. Inf. Model., vol. 53, no. 9,
doi: 10.1109/ACCESS.2020.3009328.
pp. 1689–1699, 2019, doi: 10.1017/CBO9781107415324.004.
[2] The effect of control strategies to reduce social mixing on outcomes of
[21] M. Sandler, A. Howard, M. Zhu, A. Zhmoginov, and L. C. Chen,
the COVID-19 epidemic in Wuhan, China: a modelling study Kiesha
“MobileNetV2: Inverted Residuals and Linear Bottlenecks,” 2018,
Prem*, Yang Liu*, Timothy W Russell, Adam J Kucharski, Rosalind
doi: 10.1109/CVPR.2018.00474.
M Eggo, Nicholas Davies, Centre for the Mathematical Modelling of
Infectious Diseases COVID-19 Working Group†, Mark Jit, Petra [22] A. G. Howard et al., “MobileNets: Efficient Convolutional Neural
Klepac Lancet Public Health 2020 Published Online March 25, 2020 Networks for Mobile Vision Applications,” 2017, [Online]. Available:
https://doi.org/10.1016/ S2468-2667(20)30073-6 http://arxiv.org/abs/1704.04861.
[3] M. B. Jamshidi et al., "Artificial Intelligence and COVID-19: Deep [23] B. Zoph, V. Vasudevan, J. Shlens, and Q. V. Le, “Learning
Learning Approaches for Diagnosis and Treatment," in IEEE Access, Transferable Architectures for Scalable Image Recognition,” Proc.
vol. 8, pp. 109581-109595, 2020, doi: IEEE Comput. Soc. Conf. Comput. Vis. Pattern Recognit., pp. 8697–
10.1109/ACCESS.2020.3001973. 8710, 2018, doi: 10.1109/CVPR.2018.00907.
[4] EUROPEAN CENTRE FOR DISEASE PREVENTION AND [24] P. Mishra and K. Sarawadekar, “Polynomial Learning Rate Policy
CONTROL, “Considerations relating to social distancing measures in with Warm Restart for Deep Neural Network,” IEEE Reg. 10 Annu.
response to the COVID-19 epidemic,” no. March, pp. 1–10, 2020, Int. Conf. Proceedings/TENCON, vol. 2019-October, pp. 2087–2092,
[Online]. Available: https://www.ecdc.europa.eu/en/publications- 2019, doi: 10.1109/TENCON.2019.8929465.
data/considerations-relating-social-distancing-measures-response- [25] Y. Kanada, “Optimizing neural-network learning rate by using a
COVID-19-second. genetic algorithm with per-epoch mutations,” Proc. Int. Jt. Conf.
[5] Coronavirus disease 2019 (COVID-19) Situation Report – 72 World Neural Networks, vol. 2016-October, pp. 1472–1479, 2016, doi:
Health Organization Data as reported by national authorities by 10:00 10.1109/IJCNN.2016.7727372.
CET 1 April 2020 https://www.who.int/publications-detail/infection- [26] R. Bhati, S. Jain, N. Maltare, and D. K. Mishra, “A comparative
prevention-and-control-during-health-care-when-novel-coronavirus- analysis of different neural networks for face recognition using
(ncov)infection-is-suspected-20200125 principal component analysis, wavelets and efficient variable learning
[6] T. Guo et al., ‘‘Cardiovascular implications of fatal outcomes of rate,” 2010 Int. Conf. Comput. Commun. Technol. ICCCT-2010, pp.
patients with coronavirus disease 2019 (COVID-19),’’ JAMA 526–531, 2010, doi: 10.1109/ICCCT.2010.5640486.
Cardiol., early access, Mar. 27, 2020, doi: [27] R. K. C. Billones et al., "Vehicle-Pedestrian Classification with Road
10.1001/jamacardio.2020.1017. Context Recognition Using Convolutional Neural Networks," 2018
[7] P. Hamet and J. Tremblay, ‘‘Artificial intelligence in medicine,’’ IEEE 10th International Conference on Humanoid, Nanotechnology,
Metabolism, vol. 69, pp. S36–S40, Apr. 2017. Information Technology,Communication and Control, Environment
and Management (HNICEM), Baguio City, Philippines, 2018, pp. 1-6,
[8] W. Naudé, ‘‘Artificial Intelligence against COVID-19: An early
doi: 10.1109/HNICEM.2018.8666257.
review,’’ IZA Inst. Labor Econ., Maastricht, The Netherlands, Tech.
Rep. 13110, Apr. 2020.
[9] T. T. Nguyen, G. Waurn, and P. Campus, “Artificial Intelligence in the
Battle against Coronavirus ( COVID-19 ): A Survey and Future
Research Directions,” Researchgate.Net, 2020, doi:
10.13140/RG.2.2.36491.23846.Artificial.
[10] V. Chamola, V. Hassija, V. Gupta and M. Guizani, "A Comprehensive
Review of the COVID-19 Pandemic and the Role of IoT, Drones, AI,
Blockchain, and 5G in Managing its Impact," in IEEE Access, vol. 8,
pp. 90225-90265, 2020, doi: 10.1109/ACCESS.2020.2992341.
[11] A. Beikmohammadi and K. Faez, “Leaf Classification for Plant
Recognition with Deep Transfer Learning,” Proc. - 2018 4th Iran.
Conf. Signal Process. Intell. Syst. ICSPIS 2018, pp. 21–26, 2018, doi:
10.1109/ICSPIS.2018.8700547.
[12] O. Cakiroglu, “Mask R-CNN ile Derin Yüz Sezici Gerçekleme Design
of a Deep Face Detector by Mask R-CNN,” 2019 27th Signal Process.
Commun. Appl. Conf., pp. 1–4, 2019.
[13] G. Deore, R. Bodhula, V. Udpikar, and V. More, “Study of masked
face detection approach in video analytics,” Conf. Adv. Signal Process.
CASP 2016, pp. 196–200, 2016, doi: 10.1109/CASP.2016.7746164.
[14] W. Bu, J. Xiao, C. Zhou, M. Yang, and C. Peng, “A cascade
framework for masked face detection,” 2017 IEEE Int. Conf. Cybern.
Intell. Syst. CIS 2017 IEEE Conf. Robot. Autom. Mechatronics, RAM
2017 - Proc., vol. 2018-January, pp. 458–462, 2017, doi:
10.1109/ICCIS.2017.8274819.
[15] T. Meenpal, A. Balakrishnan, and A. Verma, “Facial Mask Detection
using Semantic Segmentation,” 2019 4th Int. Conf. Comput. Commun.
Secur. ICCCS 2019, pp. 1–5, 2019, doi:
10.1109/CCCS.2019.8888092.
[16] M. S. Ejaz and M. R. Islam, “Masked face recognition using
convolutional neural network,” 2019 Int. Conf. Sustain. Technol. Ind.
4.0, STI 2019, vol. 0, pp. 24–25, 2019, doi:
10.1109/STI47673.2019.9068044.
[17] M. Guillermo et al., “Detection and Classification of Public Security
Threats in the Philippines Using Neural Networks,” 2020, doi:
10.1109/LifeTech48969.2020.1570619075.
[18] R. K. C. Billones et al., “Vision-based passenger activity analysis
system in public transport and bus stop areas,” 2019, doi:
10.1109/HNICEM.2018.8666357.
[19] H. M. Shah, A. Dinesh, and T. S. Sharmila, “Analysis of facial
The 9th International Symposium on Computational Intelligence and Industrial Applications (ISCIIA2020)
6
CITIC Jingling Beijing, China, Beijing,
Hotel Beijing, Oct.31-Nov.3,
China, 2020
Oct.31-Nov.3, 2020