基于YOLOv13-EEAttn的实验室安全帽识别研究OA
Rearch on YOLOv13-EEAttn-based Detection of Laboratory Safety Helmets
针对工程、机电类实践教学中存在的人员合规佩戴安全帽监管困难、传统视觉识别算法受遮挡,仪器背景干扰影响较大等问题,基于YOLOv13算法提出了一种融合了有效通道注意力和高效多尺度注意力的改进结构YOLOv13-EEAttn,改进内容包括:(1)在骨干网络(Backbone)中深层特征提取模块A2C2F后引入高效多尺度注意力EMA,抑制实验室背景的冗余特征;(2)在头部网络(Head)中的输出前加入多个并行有效通道注意力ECA组成的Para-ECA结构,并行强化小尺度安全帽边缘、角点区域通道权重;(3)在数据集中加入俯视视角下的人员图片和普通帽子图片,以提高监控视角下安全帽的识别精度,降低因佩戴普通帽子干扰引发的误检、漏检.实验结果表明:较YOLOv13原模型,改进模型召回率(Recall)提升1.44%,平均精度均值(mAP@50)提升0.76%.且效果优于YOLOv12、SSD等模型.对YOLOv13-EEAttn结构进行消融实验,量化分析EMA、Para-ECA模块对安全帽识别性能的贡献.最后结合混淆矩阵验证,对安全帽、普通帽子检测正确率分别提高1.1%和3.1%.为高校实验室安全管理提供技术参考.
To address the issue existing in practical teaching of engineering,mechanical,and electrical majors,such as difficulties in supervising the compliant wearing of safety helmets by personnel,and traditional visual recognition algorithms being susceptible to occlusion and significant interference from instrument backgrounds,an improved structure named YOLOv13-EEAttn is proposed based on the YOLOv13 algorithm,which integrates efficient channel attention and efficient multi-scale attention.The improvements are as follows:(1)Introduce the efficient multi-scale attention(EMA)after the deep feature extraction module A2C2F in the Backbone to suppress redundant features from the laboratory background.(2)Add the Para-ECA structure composed of multiple parallel efficient channel attention(ECA)modules before the output in the Head,so as to enhance the channel weights of edge and corner regions of small-scale safety helmets in parallel.(3)Incorporate images of students taken from a top-down view and images of ordinary hats into the datasets to improve the recognition accuracy of safety helmets under surveillance perspectives,and reduce false defections and missed defections caused by interference from ordinary hats.Experimental results show that compared with the original YOLOv13 model,the improved model achieves a 1.44%increase in Recall and a 0.76%improvement in mAP@50,and outperforms models such as YOLOv12 and SSD.Ablation experiments are conducted on the YOLOv13-EEAttn structure to quantitatively analyze the contributions of the EMA and Para-ECA modules to safety helmet recognition performance.Finally,verification with the confusion matrix shows that the detection accuracy rates for safety helmets and ordinary hats are increased by 1.1%and 3.1%respectively.This study provides a technical reference for laboratory safety management in universities.
唐维宏;童军杰
广州航海学院 海洋装备工程学院,广州 510725广州航海学院 海洋装备工程学院,广州 510725
信息技术与安全科学
安全管理YOLOv13算法注意力安全帽识别实验课程
safety managementYOLOv13 algorithmattentionsafety helmet detectionlaboratory course
《机电工程技术》 2026 (17)
50-55,6
广东省高等教育学会实验室管理专业委员会2025年研究基金项目(GDJ20250044)
评论