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
Tags: Add Tag
No Tags, Be the first to tag this record!
id my-utm-ep.99576
record_format uketd_dc
spelling my-utm-ep.995762023-03-05T07:04:45Z Mask detection using deep learning method 2022 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 http://eprints.utm.my/id/eprint/99576/ http://eprints.utm.my/id/eprint/99576/1/TanYuXuanMSKE2022.pdf application/pdf en public http://dms.library.utm.my:8080/vital/access/manager/Repository/vital:149778 masters Universiti Teknologi Malaysia, Faculty of Engineering - School of Electrical Engineering Faculty of Engineering - School of Electrical Engineering
institution Universiti Teknologi Malaysia
collection UTM Institutional Repository
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
qualification_level Master's degree
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
granting_institution Universiti Teknologi Malaysia, Faculty of Engineering - School of Electrical Engineering
granting_department Faculty of Engineering - School of Electrical Engineering
publishDate 2022
url http://eprints.utm.my/id/eprint/99576/1/TanYuXuanMSKE2022.pdf
_version_ 1776100620585926656