Mask detection using deep learning method

Wearing face masks outdoors has been a new norm due to the COVID 19 pandemic as an initiative of controlling the spread of coronavirus. To reduce the risk of people being exposed to viruses, face masks were compulsory to be worn by Malaysians. However, there are people who refused to do so due to va...

Full description

Saved in:
Bibliographic Details
Main Author: Tan, Yu Xuan
Format: Thesis
Language:English
Published: 2022
Subjects:
Online Access:http://eprints.utm.my/id/eprint/99576/1/TanYuXuanMSKE2022.pdf
http://eprints.utm.my/id/eprint/99576/
http://dms.library.utm.my:8080/vital/access/manager/Repository/vital:149778
Tags: Add Tag
No Tags, Be the first to tag this record!
id my.utm.99576
record_format eprints
spelling my.utm.995762023-03-05T07:04:45Z http://eprints.utm.my/id/eprint/99576/ Mask detection using deep learning method Tan, Yu Xuan TK Electrical engineering. Electronics Nuclear engineering Wearing face masks outdoors has been a new norm due to the COVID 19 pandemic as an initiative of controlling the spread of coronavirus. To reduce the risk of people being exposed to viruses, face masks were compulsory to be worn by Malaysians. However, there are people who refused to do so due to various reasons such as feeling lazy, uncomfortable, troublesome, and others, even the act of wearing a face mask is enforced by law. Therefore, it is essential to build a face mask detector to monitor automatically and ensure people are wearing masks correctly. The performance such as precision and response time of face mask detectors are important to support their application in the real-time working environment. The issue of performance enhancement in the form of adding more layers or implementing hybrid models such as spatial pyramid pooling (SPP) modules is increasing the complexity of the algorithm and making it bulky. The objective of this paper is to build a face mask detector by using the latest high-performance deep learning model, YOLOv4 and YOLOv5 together with MixUp technique which can contribute to high mean accuracy precision (mAP) and short inference time that suffice the requirements to be working in a real-time environment. This research conducted data sets collection and data annotation at the beginning stage of the algorithm, then MixUp technique was applied to the collected datasets to train the YOLOv4 and YOLOv5 using Google Colab. Next, the trained model was tested, and the performance was evaluated in terms of mAP using the average precision (AP) from the confusion matrix and inference time based on the time taken for prediction. The algorithm with the YOLOv5 model having slightly lower mAP than YOLOv4 but shorter training and inference time. However, both models able to detect and classify the input image to three classes included with-mask (1), without-mask (2), and incorrectly with-mask (3) with good performance. 2022 Thesis NonPeerReviewed application/pdf en http://eprints.utm.my/id/eprint/99576/1/TanYuXuanMSKE2022.pdf Tan, Yu Xuan (2022) Mask detection using deep learning method. Masters thesis, Universiti Teknologi Malaysia, Faculty of Engineering - School of Electrical Engineering. http://dms.library.utm.my:8080/vital/access/manager/Repository/vital:149778
institution Universiti Teknologi Malaysia
building UTM Library
collection Institutional Repository
continent Asia
country Malaysia
content_provider Universiti Teknologi Malaysia
content_source UTM Institutional Repository
url_provider http://eprints.utm.my/
language English
topic TK Electrical engineering. Electronics Nuclear engineering
spellingShingle TK Electrical engineering. Electronics Nuclear engineering
Tan, Yu Xuan
Mask detection using deep learning method
description Wearing face masks outdoors has been a new norm due to the COVID 19 pandemic as an initiative of controlling the spread of coronavirus. To reduce the risk of people being exposed to viruses, face masks were compulsory to be worn by Malaysians. However, there are people who refused to do so due to various reasons such as feeling lazy, uncomfortable, troublesome, and others, even the act of wearing a face mask is enforced by law. Therefore, it is essential to build a face mask detector to monitor automatically and ensure people are wearing masks correctly. The performance such as precision and response time of face mask detectors are important to support their application in the real-time working environment. The issue of performance enhancement in the form of adding more layers or implementing hybrid models such as spatial pyramid pooling (SPP) modules is increasing the complexity of the algorithm and making it bulky. The objective of this paper is to build a face mask detector by using the latest high-performance deep learning model, YOLOv4 and YOLOv5 together with MixUp technique which can contribute to high mean accuracy precision (mAP) and short inference time that suffice the requirements to be working in a real-time environment. This research conducted data sets collection and data annotation at the beginning stage of the algorithm, then MixUp technique was applied to the collected datasets to train the YOLOv4 and YOLOv5 using Google Colab. Next, the trained model was tested, and the performance was evaluated in terms of mAP using the average precision (AP) from the confusion matrix and inference time based on the time taken for prediction. The algorithm with the YOLOv5 model having slightly lower mAP than YOLOv4 but shorter training and inference time. However, both models able to detect and classify the input image to three classes included with-mask (1), without-mask (2), and incorrectly with-mask (3) with good performance.
format Thesis
author Tan, Yu Xuan
author_facet Tan, Yu Xuan
author_sort Tan, Yu Xuan
title Mask detection using deep learning method
title_short Mask detection using deep learning method
title_full Mask detection using deep learning method
title_fullStr Mask detection using deep learning method
title_full_unstemmed Mask detection using deep learning method
title_sort mask detection using deep learning method
publishDate 2022
url http://eprints.utm.my/id/eprint/99576/1/TanYuXuanMSKE2022.pdf
http://eprints.utm.my/id/eprint/99576/
http://dms.library.utm.my:8080/vital/access/manager/Repository/vital:149778
_version_ 1759689422362640384
score 13.211869