Cloud-based lightweight detection of hardhat compliance based on YOLOv5 in power construction site

Wanbo, Luo (2025) Cloud-based lightweight detection of hardhat compliance based on YOLOv5 in power construction site. PhD thesis, Universiti Teknologi MARA (UiTM).

Abstract

Ensuring the safety of workers is of utmost importance at power construction sites. Wearing hardhats is critical to protect workers' safety. Unfortunately, some workers neglect to wear hardhats due to a lack of awareness. Therefore, it is necessary to provide real-time warnings when detecting workers without hardhats. Implementing deep learning-based object detection algorithms can facilitate the enforcement of hardhat-wearing compliance, thereby reducing work-related injuries and fatalities. However, these models typically have numerous parameters and computations, rendering them incompatible with embedded devices with limited resources. Furthermore, existing algorithms face challenges in complex work sites, such as detecting long-distance, occluded, dense, and low-light objects. Therefore, this thesis explores and studies public hardhat datasets, deep learning algorithms, power Internet of Things (PIoT), and edge computing to address the above issues. Based on You Only Look Once (YOLO) v5, A cloud-based real-time hardhat-wearing compliance detection system was proposed to detect workers not wearing hardhats in power construction sites. It utilized a lightweight object detector called hardhat-YOLO. First, a large-scale hardhat-wearing dataset, hardhat10K, was introduced to train the detection model effectively. Second, the lightweight backbone, RepGhostNet, was used to lightweight the YOLOv5s backbone to significantly reduce parameters and Giga Floating Point Operations (GFLOPs), thereby improving detection speed. Third, an improved Convolutional Block Attention Module (CBAM) module, Light-CBAM (L-CBAM), was effectively integrated into the new backbone to mitigate accuracy drops. Fourth, a refined Efficient Intersection over Union (EIoU) loss function, Prior-EIoU, was proposed to increase the convergence speed of the loss function and improve the recall, thereby reducing the missed detection rate. Finally, the hardhat-YOLO model was trained using the Hardhat10K dataset and deployed on the Jetson Orin Nano 4G edge computing terminal to detect no-hardhat-wearing workers. The hardhat-YOLO model achieved a Mean Average Precision (mAP50) of 83.5% at 50% IoU while significantly reducing parameters, GFLOPs, and size by approximately 50%, 53.2%, and 47.7%, respectively, compared to the YOLOv5s model. This made it a more lightweight and efficient design with only a minor reduction in accuracy. Furthermore, it achieved approximately 50 Frames per Second (FPS) using a live camera, meeting the real-time detection requirements. Experimental results demonstrate that the hardhat-YOLO model can accurately and efficiently detect hardhat-wearing compliance in real-time, ensuring its practical applicability in power workplace safety monitoring.

Metadata

Item Type: Thesis (PhD)
Creators:
Creators
Email / ID Num.
Wanbo, Luo
UNSPECIFIED
Contributors:
Contribution
Name
Email / ID Num.
Thesis advisor
Mohd Yassin, Ahmad Ihsan
UNSPECIFIED
Thesis advisor
Mohd Shariff, Khairul Khaizi
UNSPECIFIED
Thesis advisor
Raju, Rajeswari
UNSPECIFIED
Subjects: T Technology > TS Manufactures
T Technology > TS Manufactures > Production management. Operations management
Divisions: Universiti Teknologi MARA, Shah Alam > Faculty of Electrical Engineering
Programme: Doctor of Philosophy (Electrical Engineering)
Keywords: Central Processing Unit (CPU), Common Objects in Context (COCO), Convolutional Block Attention Module (CBAM)
Date: November 2025
URI: https://ir.uitm.edu.my/id/eprint/132634
Edit Item
Edit Item

Download

[thumbnail of 132634.pdf] Text
132634.pdf

Download (17kB)

Digital Copy

Digital (fulltext) is available at:

Physical Copy

Physical status and holdings:
Item Status:

ID Number

132634

Indexing

Statistic

Statistic details