基于改进YOLOv8n的煤矿巷道异常管路智能识别方法

Intelligent detection method for abnormal pipelines in coal mine roadways based on improved YOLOv8n

  • 摘要: 针对现有异常管路识别模型在煤矿场景中因目标尺度变化复杂导致识别准确率低、参数量大难以满足巡检机器人部署需求、对掉落管路无法准确判别的问题,提出了一种基于改进YOLOv8n的煤矿巷道异常管路智能识别方法。在YOLOv8n模型基础上引入MobileNetV4改进主干网络,以降低参数量并提升特征提取效率;引入倒置残差高效多尺度注意力(iEMA)机制,以增强多尺度目标特征捕获能力;在颈部网络采用全维动态卷积(ODConv)替换标准卷积,以提升局部细粒度特征融合与识别精度;引入Focal−EIoU损失函数,以改善小尺度漏水目标与细长管路样本不均衡问题,提升模型边界框回归质量。针对管路掉落识别,提出了基于管路锚框与地面锚框重合度、管路倾斜角度的双指标判别方法:当管路锚框与地面锚框重合,判定管路坠地;否则判定管路未坠地,并判断管路倾斜角度是否大于设定阈值,若是则判定管路垂落。实验结果表明:与YOLOv8n模型相比,改进YOLOv8n模型在参数量降低19%的前提下,准确率、召回率、mAP@0.5分别提升了3.3%,4.7%,3.9%;改进YOLOv8n模型实现了检测精度与速度的平衡,且在小尺度漏水目标与掉落管路识别中未发生漏检;改进YOLOv8n模型在边缘设备部署后,能准确识别异常管路,平均检测时间为9.1 ms,内存占用仅为98 MiB,满足巡检机器人对异常管路实时、准确识别的需求。

     

    Abstract: To address the issues where existing abnormal pipeline detection models in coal mine scenarios suffer from low recognition accuracy due to complex target scale variations, large parameter sizes that cannot meet the deployment requirements of inspection robots, and the inability to accurately detect fallen pipelines, an intelligent detection method for abnormal pipelines in coal mine roadways based on an improved YOLOv8n was proposed. Based on the YOLOv8n model, MobileNetV4 was introduced as the backbone network to reduce the number of parameters and improve feature extraction efficiency. An Inverted Residual Efficient Multi-Scale Attention (iEMA) mechanism was introduced to enhance the ability to capture multi-scale target features. In the neck network, Omni-Dimensional Dynamic Convolution (ODConv) was used to replace standard convolution, thereby improving local fine-grained feature fusion and detection accuracy. The Focal-EIoU loss function was introduced to address the imbalance between small-scale leakage targets and slender pipeline samples and to improve the quality of bounding box regression. For fallen pipeline detection, a dual-indicator method based on the overlap between pipeline and ground anchor boxes and the pipeline inclination angle was proposed. When the pipeline anchor box overlapped with the ground anchor box, the pipeline was judged to have fallen. Otherwise, it was judged not to have fallen, and its inclination angle was compared with a preset threshold. If the inclination angle exceeded the threshold, the pipeline was judged to be hanging down. The results showed that, compared with the YOLOv8n model, the improved YOLOv8n model reduced the number of parameters by 19%, while the precision, recall, and mAP@0.5 increased by 3.3%, 4.7%, and 3.9%, respectively. The improved YOLOv8n model achieved a balance between detection accuracy and speed, with no missed detections in small-scale leakage targets and fallen pipeline detection. After deployment on edge devices, the improved YOLOv8n model accurately detected abnormal pipelines, with an average detection time of 9.1 ms and memory usage of only 98 MiB, meeting the requirements of inspection robots for real-time and accurate detection of abnormal pipelines.

     

/

返回文章
返回