论文中文题名: | 基于深度学习的安全帽佩戴检测系统 |
姓名: | |
学号: | 19207205046 |
保密级别: | 公开 |
论文语种: | chi |
学科代码: | 085208 |
学科名称: | 工学 - 工程 - 电子与通信工程 |
学生类型: | 硕士 |
学位级别: | 工程硕士 |
学位年度: | 2022 |
培养单位: | 西安科技大学 |
院系: | |
专业: | |
研究方向: | 计算机视觉 |
第一导师姓名: | |
第一导师单位: | |
论文提交日期: | 2022-06-17 |
论文答辩日期: | 2022-06-06 |
论文外文题名: | A safety helmet wearing detection system based on deep learning |
论文中文关键词: | |
论文外文关键词: | Safety helmet detection ; Deep learning ; YOLOv4 ; Attention mechanism ; Multi-scale detection ; Sample imbalance |
论文中文摘要: |
目前在大型建筑施工区域,仍然通过人工检查的方式监督施工人员佩戴安全帽,这种监管措施劳动成本大,效率低下,已经完全无法满足建筑行业高速发展的需求。近年来,在我国的建筑行业中,由于未佩戴安全帽造成的事故占总事故的60%以上,随着目标检测技术与智能摄像机的发展,使得实现智能化的安全帽佩戴检测成为可能。本文通过对主流的目标检测算法的分析,权衡检测精度与速度,选择YOLOv4作为基础算法开发安全帽佩戴检测算法。针对YOLOv4对小目标检测精度低,遮挡严重目标识别困难等问题,对YOLOv4进行改进提出一种新的安全帽佩戴检测算法。 首先,在YOLOv4的主干特征提取网络中引入多频谱通道注意力机制,对卷积神经网络提取的特征通道之间的相互依赖关系进行建模,自适应地调整各通道的特征响应值,提高模型的特征提取能力;其次,对YOLOv4的路径聚合网络和特征金字塔网络结构进行改进,将主干特征提取网络中分辨率低,细粒度特征丰富的浅层特征和语义信息丰富的深层特征进行更好地融合,输出分辨率更大的特征图检测小目标;最后对损失函数进行改进,降低了大量简单负样本在训练中所占的权重。 为了获得最佳模型,以每个类别的AP值和mAP值作为评价指标,对模型的改进点进行两两融合实验研究。最后通过综合实验研究和实际的图片测试,验证了本文所改进算法的有效性,通过以上三点改进后,YOLOv4的mAP值由原来的80.90%提升到90.11%,并且通过实际的图片测试后,改进后的模型具有更好地检测效果。 为了将改进后的算法应用到实际的建筑现场,通过华为软件定义摄像机进行二次开发,将训练好的模型通过转换,打包和签名等操作,移植到华为软件定义摄像机上形成了一套完整的安全帽佩戴检测系统。 |
论文外文摘要: |
Construction workers are still required to wear safety helmets in large-scale construction zones, as determined by manual inspection. This type of supervision has high personnel costs and low efficiency, and it has entirely failed to satisfy the demands of the construction industry's rapid growth. Accidents caused by not wearing a helmet account for more than 60% of all accidents in the construction business in my nation in recent years. With the advancement of target detection technologies and smart cameras, intelligent helmet wearing detection is now achievable. This study examines popular target detection algorithms, weighs detection accuracy and speed, and chooses YOLOv4 as the foundation for a helmet-wearing detection method. YOLOv4 is upgraded, and a new helmet wearing detection algorithm is developed, in order to address the difficulties of YOLOv4's low detection accuracy for small targets and difficulty in detecting substantially obscured targets. To model the interdependence between the feature channels extracted by the convolutional neural network, adaptively adjust the feature response value of each channel, and improve the model, the multi-spectral channel attention mechanism is first introduced into the backbone feature extraction network of YOLOv4. Second, YOLOv4's path aggregation network and feature pyramid network structure have been improved, and the backbone feature extraction network's low-resolution, fine-grained feature-rich shallow features and semantic information-rich deep features have been improved. Finally, the loss function is improved to reduce the weight of a large number of simple negative samples in training. Fusion, the output feature map with higher resolution, detects small targets; finally, the loss function is improved to reduce the weight of a large number of simple negative samples in training. The AP value and mAP value of each category are utilized as evaluation indicators, and a pairwise fusion experiment research is conducted on the model's improvement points in order to produce the optimal model. Finally, the usefulness of the modified algorithm in this study is confirmed through extensive experimental research and actual picture testing. The mAP value of YOLOv4 has grown from 80.90 percent to 90.11 percent following the above three changes, and the upgraded model has a superior detection impact after passing the actual photo test. The trained model is transplanted to Huawei software-defined cameras through operations such as conversion, packaging, and signature, forming a complete set of Safety helmet wearing detection system, in order to apply the improved algorithm to the actual construction site, through secondary development of Huawei software-defined cameras. |
参考文献: |
[1] 邱浩然.基于改进YOLOv3的安全帽检测算法研究与实现[D].西南交通大学,2020.002334. [2] 闫金鹏.2009年至2017年房屋市政工程建设领域生产安全事故分析与安全控制重[J].建筑安全,2019,34(02):61-63. [3] 常欣,刘鑫萌.建筑施工人员不合理佩戴安全帽事故树分析[J].吉林建筑大学学报,2018,35(06):65-69. [22] 杨莉琼,蔡利强,古松.基于机器学习方法的安全帽佩戴行为检测[J].中国安全生产科学技术,2019,15(10):152-157. [23] 徐守坤,倪楚涵,吉晨晨等.一种基于安全帽佩戴检测的图像描述方法研究[J].小型微型计算机系统,2020,41(04):812-819. [24] 王雨生,顾玉宛,庄丽华等.复杂姿态下的安全帽佩戴检测方法研究[J].计算机工程与应用,2022,58(01):190-196. [25] 肖体刚,蔡乐才,高祥等.改进YOLOv3的安全帽佩戴检测方法[J].计算机工程与应用,2021,57(12):216-223. [26] 葛青青,张智杰,袁珑,李秀梅,孙军梅.融合环境特征与改进YOLOv4的安全帽佩戴检测[J].中国图象图形学报,2021,26(12):2904-2917. |
中图分类号: | TP391.4 |
开放日期: | 2022-06-21 |