中国安全科学学报 ›› 2026, Vol. 36 ›› Issue (5): 243-250.doi: 10.16265/j.cnki.issn1003-3033.2026.05.08

• 安全技术与工程 • 上一篇    下一篇

远距监控下重工业车间人员不安全行为检测算法

周宇1(), 吴鑫1,2, 陈洁1,**()   

  1. 1 湖南工商大学 计算机学院, 湖南 长沙 410205
    2 湘江实验室, 湖南 长沙 410205
  • 收稿日期:2026-01-12 修回日期:2026-03-24 出版日期:2026-05-28
  • 通信作者:
    ** 陈洁(1981—),女,湖南衡阳人,博士,副教授,主要从事复杂系统建模、机器视觉检测、机器人协同控制等方面的研究。E-mail:
  • 作者简介:

    周 宇 (2000—),男,湖南怀化人,硕士研究生,主要研究方向为计算机视觉、机器视觉检测技术等。E-mail:

    吴鑫 副教授。

  • 基金资助:
    湖南省自然科学基金资助(2023JJ40238); 湖南省教育厅优秀青年基金资助(23B0596); 湖南省普通高等学校教学改革研究项目(HNJG-20230793); 湘江实验室重大项目(24XJJCYJ01004)

Detection algorithms for unsafe behaviors of personnel in heavy industrial workshops under remote monitoring

Zhou Yu1(), Wu Xin1,2, Chen Jie1,**()   

  1. 1 School of Computer Science, Hunan University of Technology and Business, Changsha Hunan 410205, China
    2 Xiangjiang Laboratory, Changsha Hunan 410205, China
  • Received:2026-01-12 Revised:2026-03-24 Published:2026-05-28

摘要:

为解决重工业车间远距监控视角下小目标检测精度不足的问题,提出一种基于改进YOLOv7的不安全行为检测算法。首先,利用轻量级内容感知特征重组(CARAFE)模块替代传统上采样,通过自适应特征重组有效保留小目标的语义信息;其次,提出一种改进的双层高效层聚合网络(Bi-ELAN)模块,在头部网络中融合BiFormer动态稀疏注意力机制,强化多尺度特征融合能力,并建立目标-背景上下文关联;然后,改进损失函数,引入形状交并比(ShapeIoU)损失函数,通过几何形状约束提升边界框回归精度;最后,在构建的远距监控视角数据集上,对改进后的 YOLOv7 模型开展消融试验与对比试验。结果表明:改进YOLOv7算法在保持模型轻量化的同时,显著提升远距监控场景下小目标的检测精度,精确率为84.2%,召回率为78.6%,平均精度均值(mAP)@0.5为78.8%,相比原YOLOv7算法,改进后的算法精确率、召回率、mAP@0.5分别提高5%、0.3%、2.6%。

关键词: 远距监控, 重工业车间, 不安全行为, 目标检测, YOLOv7

Abstract:

To address the issue of insufficient small-object detection accuracy in remote monitoring of heavy industrial workshops, an unsafe behavior detection algorithm based on improved YOLOv7 was proposed. First, the traditional upsampling was replaced with a lightweight content-aware reassembly of features (CARAFE) module, which effectively preserved the semantic information of small objects through adaptive feature reassembly. Second, an improved Bi-level routing efficient layer aggregation network(Bi-ELAN) module was proposed by integrating the BiFormer dynamic sparse attention mechanism into the head network, which strengthened the multi-scale feature fusion capabilities and established target-background contextual relationships. Third, the loss function was refined by introducing the shape intersection over union(ShapeIoU)loss function, which enhanced bounding box regression accuracy through geometric shape constraints. Finally, ablation experiments and comparative experiments were conducted on the improved YOLOv7 model based on constructed remote monitoring perspective dataset. The results show that, while maintaining model lightweight characteristics, the proposed algorithm significantly improves small-object detection accuracy in remote monitoring scenarios. The improved model achieves a precision of 84.2%, a recall of 78.6%, and a mean average precision (mAP@0.5) of 78.8%. Compared to the original YOLOv7 algorithm, the improved algorithm increases precision, recall, and mAP@0.5 by 5%, 0.3%, and 2.6%, respectively.

Key words: remote monitoring, heavy industrial workshop, unsafe behavior, object detection, YOLOv7

中图分类号: