A Blockchain-Enabled Machine Learning Mask Detection method for Prevention of Pandemic Diseases

Authors

  • Anwar Ali Sathio Department of CS&IT ,Benazir Bhutto Shaheed University Lyari Karachi
  • Shafiq Ahmed Awan Department of CS&IT, Benazir Bhutto Shaheed University Lyari Karachi Sindh Pakistan
  • Ali Orangzeb Panhwar department of CS, Shaheed Zulfiqar Ali Bhutto Institute of Science & Technology (SZABIST) Karachi Pakistan
  • Ali Muhammad Aamir Department of CS&IT, Benazir Bhutto Shaheed University Lyari Karachi Sindh Pakistan
  • Ariz Muhammad Brohi Department of CS&IT, Benazir Bhutto Shaheed University Lyari Karachi Sindh Pakistan
  • Asadullah Burdi Institute of Mathematics and Computer Science (IMCS), University of Sindh Jamshoro,Sindh, Pakistan

DOI:

https://doi.org/10.21015/vtcs.v11i1.1443

Abstract

During the COVID-19 pandemic, finding effective methods to prevent the spread of infectious diseases has become critical. One important measure for reducing the transmission of airborne viruses is wearing face masks but enforcing mask-wearing regulations can be difficult in many settings. Real-time and accurate monitoring of mask usage is needed to address this challenge. To do so, we propose a method for mask detection using a convolutional neural network (CNN) and blockchain technology. Our system involves training a CNN model on a dataset of images of people with and without masks and then deploying it on IoT-enabled devices for real-time monitoring. The use of blockchain technology ensures the security and privacy of the data and enables the efficient sharing of resources among network participants. Our proposed system achieved 99% accuracy through CNN training and was transformed into a blockchain-enabled network mechanism with QR validation of every node for authentication. This approach has the potential to be an effective tool for promoting compliance with mask-wearing regulations and reducing the risk of infection. We present a framework for implementing this technique and discuss its potential benefits and challenges

References

. 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,” Sustain Cities Soc, vol. 66, Mar. 2021, doi: 10.1016/j.scs.2020.102692.

T. Zhang et al., “SAR ship detection dataset (SSDD): Official release and comprehensive data analysis,” Remote Sens (Basel), vol. 13, no. 18, Sep. 2021, doi: 10.3390/rs13183690.

“Zhang-etal-2016--Multi-task Cascaded Convolutional Networks (MTCNN)”.

Y. Chen, S. Liu, X. Shen, and J. Jia, “Fast Point R-CNN.”

J. Redmon, S. Divvala, R. Girshick, and A. Farhadi, “You Only Look Once: Unified, Real-Time Object Detection.” [Online]. Available: http://pjreddie.com/yolo/

J. Deng, J. Guo, N. Xue, and S. Zafeiriou, “ArcFace: Additive Angular Margin Loss for Deep Face Recognition.” [Online]. Available: https://github.com/

Z.-Q. Zhao, P. Zheng, S. Xu, and X. Wu, “Object Detection with Deep Learning: A Review,” Jul. 2018, [Online]. Available: http://arxiv.org/abs/1807.05511

A. Cabani, K. Hammoudi, H. Benhabiles, and M. Melkemi, “MaskedFace-Net – A dataset of correctly/incorrectly masked face images in the context of COVID-19,” Smart Health, vol. 19, Mar. 2021, doi: 10.1016/j.smhl.2020.100144.

P. Wu, H. Li, N. Zeng, and F. Li, “FMD-Yolo: An efficient face mask detection method for COVID-19 prevention and control in public,” Image Vis Comput, vol. 117, Jan. 2022, doi: 10.1016/j.imavis.2021.104341.

B. Hamdan and K. Mokhtar, “The detection of spoofing by 3D mask in a 2D identity recognition system,” Egyptian Informatics Journal, vol. 19, no. 2. Elsevier B.V., pp. 75–82, Jul. 01, 2018. doi: 10.1016/j.eij.2017.10.001.

T. M. Saravanan, K. Karthiha, R. Kavinkumar, S. Gokul, and J. P. Mishra, “A novel machine learning scheme for face mask detection using pretrained convolutional neural network,” Mater Today Proc, vol. 58, pp. 150–156, Jan. 2022, doi: 10.1016/j.matpr.2022.01.165.

M. Loey, G. Manogaran, M. H. N. Taha, and N. E. M. Khalifa, “A hybrid deep transfer learning model with machine learning methods for face mask detection in the era of the COVID-19 pandemic,” Measurement (Lond), vol. 167, Jan. 2021, doi: 10.1016/j.measurement.2020.108288.

X. Kong et al., “Real-Time Mask Identification for COVID-19: An Edge-Computing-Based Deep Learning Framework,” IEEE Internet Things J, vol. 8, no. 21, pp. 15929–15938, Nov. 2021, doi: 10.1109/JIOT.2021.3051844.

E. Mbunge, S. Simelane, S. G. Fashoto, B. Akinnuwesi, and A. S. Metfula, “Application of deep learning and machine learning models to detect COVID-19 face masks - A review,” Sustainable Operations and Computers, vol. 2. KeAi Communications Co., pp. 235–245, Jan. 01, 2021. doi: 10.1016/j.susoc.2021.08.001.

A. Heidari, S. Toumaj, N. J. Navimipour, and M. Unal, “A privacy-aware method for COVID-19 detection in chest CT images using lightweight deep conventional neural network and blockchain,” Comput Biol Med, vol. 145, Jun. 2022, doi: 10.1016/j.compbiomed.2022.105461.

B. A. Kumar and M. Bansal, “Face Mask Detection on Photo and Real-Time Video Images Using Caffe-MobileNetV2 Transfer Learning,” Applied Sciences (Switzerland), vol. 13, no. 2, Jan. 2023, doi: 10.3390/app13020935.

K. Gulati, “Methods To Identify Facial Detection In Deep Learning Through The Use Of Real-Time Training Datasets Management.” [Online]. Available: www.efflatounia.com

D. Xu and Y. Wu, “Improved YOLO-V3 with densenet for multi-scale remote sensing target detection,” Sensors (Switzerland), vol. 20, no. 15, pp. 1–24, Aug. 2020, doi: 10.3390/s20154276.

S. Pooja, L. K. Raju, U. Chhapekar, and C. B. Chandrakala, “Face Detection using Deep Learning to ensure a Coercion Resistant Blockchain-based Electronic Voting,” Engineered Science, vol. 16, pp. 341–353, 2021, doi: 10.30919/es8d585.

X. Tao, H. Gao, R. Liao, J. Wang, and J. Jia, “Detail-revealing Deep Video Super-resolution *.”

L. Yaroslavsky, “5 Space-variant and adaptive transform domain image restoration methods.”

M. Tassano, J. Delon, and T. Veit, “DVDnet: A Fast Network for Deep Video Denoising,” Jun. 2019, doi: 10.1109/ICIP.2019.8803136.

C. Ledig et al., “Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Network.”

L. Qiao, Y. Zhao, Z. Li, X. Qiu, J. Wu, and C. Zhang, “DeFRCN: Decoupled Faster R-CNN for Few-Shot Object Detection.” [Online]. Available: https://github.com/er-muyue/DeFRCN

N. Wu, X. Wang, B. Lin, and K. Zhang, “A CNN-Based End-to-End Learning Framework Toward Intelligent Communication Systems,” IEEE Access, vol. 7, pp. 110197–110204, 2019, doi: 10.1109/ACCESS.2019.2926843.

Y. Ren, C. Zhu, and S. Xiao, “Small object detection in optical remote sensing images via modified Faster R-CNN,” Applied Sciences (Switzerland), vol. 8, no. 5. MDPI AG, May 18, 2018. doi: 10.3390/app8050813.

C. N. Ngonghala, H. B. Taboe, S. Safdar, and A. B. Gumel, “Unraveling the dynamics of the Omicron and Delta variants of the 2019 coronavirus in the presence of vaccination, mask usage, and antiviral treatment: Dynamics of the Omicron and Delta variants of COVID-19 in the presence of control measures,” Appl Math Model, vol. 114, pp. 447–465, Feb. 2023, doi: 10.1016/j.apm.2022.09.017.

A. K. Sharadhi, V. Gururaj, S. P. Shankar, M. S. Supriya, and N. S. Chogule, “Face mask recogniser using image processing and computer vision approach,” Global Transitions Proceedings, vol. 3, no. 1, pp. 67–73, Jun. 2022, doi: 10.1016/j.gltp.2022.04.016.

M. Fang, N. Damer, F. Kirchbuchner, and A. Kuijper, “Real masks and spoof faces: On the masked face presentation attack detection,” Pattern Recognit, vol. 123, Mar. 2022, doi: 10.1016/j.patcog.2021.108398.

M. Li, Z. Hou, R. Meng, S. Hao, and B. Wang, “Unraveling the potential human health risks from used disposable face mask-derived micro/nanoplastics during the COVID-19 pandemic scenario: A critical review,” Environment International, vol. 170. Elsevier Ltd, Dec. 01, 2022. doi: 10.1016/j.envint.2022.107644.

P. Gupta, V. Sharma, and S. Varma, “A novel algorithm for mask detection and recognizing actions of human,” Expert Systems with Applications, vol. 198. Elsevier Ltd, Jul. 15, 2022. doi: 10.1016/j.eswa.2022.116823.

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,” Sustain Cities Soc, vol. 66, Mar. 2021, doi: 10.1016/j.scs.2020.102692.

A. Vrij and M. Hartwig, “Deception and Lie Detection in the Courtroom: The Effect of Defendants Wearing Medical Face Masks.”

M. M. Mohamed et al., “Face mask recognition from audio: The MASC database and an overview on the mask challenge,” Pattern Recognit, vol. 122, Feb. 2022, doi: 10.1016/j.patcog.2021.108361.

A. Pazienza and D. Monte, “Introducing the Monitoring Equipment Mask Environment,” Sensors, vol. 22, no. 17, Sep. 2022, doi: 10.3390/s22176365.

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,” Sustain Cities Soc, vol. 65, Feb. 2021, doi: 10.1016/j.scs.2020.102600.

C. Lin, L. Li, W. Luo, K. C. P. Wang, and J. Guo, “Transfer learning based traffic sign recognition using inception-v3 model,” Periodica Polytechnica Transportation Engineering, vol. 47, no. 3, pp. 242–250, 2019, doi: 10.3311/PPtr.11480.

M. Umair, M. A. Cheema, O. Cheema, H. Li, and H. Lu, “Impact of COVID-19 on iot adoption in healthcare, smart homes, smart buildings, smart cities, transportation and industrial IoT,” Sensors, vol. 21, no. 11. MDPI AG, Jun. 01, 2021. doi: 10.3390/s21113838.

Y. X. Yang, C. Wen, K. Xie, F. Q. Wen, G. Q. Sheng, and X. G. Tang, “Face recognition using the SR-CNN model,” Sensors (Switzerland), vol. 18, no. 12, Dec. 2018, doi: 10.3390/s18124237.

P. Nagaraj, R. Banala, and A. v. Krishna Prasad, “Real Time Face Recognition using Effective Supervised Machine Learning Algorithms,” in Journal of Physics: Conference Series, Aug. 2021, vol. 1998, no. 1. doi: 10.1088/1742-6596/1998/1/012007.

S. Y. Kim, J. Oh, and M. Kim, “The Thirty-Fourth AAAI Conference on Artificial Intelligence (AAAI-20)-Based Joint Super-Resolution and Inverse Tone-Mapping with Pixel-Wise Task-Specific Filters for UHD HDR Video.” [Online]. Available: www.aaai.org

Downloads

Additional Files

Published

2023-05-21

How to Cite

Sathio, A. A., Awan, S. A., Panhwar, A. O., Aamir, A. M., Brohi, A. M., & Burdi, A. (2023). A Blockchain-Enabled Machine Learning Mask Detection method for Prevention of Pandemic Diseases. VAWKUM Transactions on Computer Sciences, 11(1), 165–183. https://doi.org/10.21015/vtcs.v11i1.1443