基于CBA−YOLO模型的煤矸石检测

Coal gangue detection based on CBA-YOLO model

  • 摘要: 煤矸石检测中存在样本间特征差异小、目标密集等问题,导致现有煤矸石检测方法精度不高且实时性较差。针对该问题,提出了一种基于CBA−YOLO模型的煤矸石检测方法。CBA−YOLO模型以速度较快、精度较高的YOLOv5m为基础模型,在YOLOv5m的Backbone中加入卷积块注意力模块(CBAM),通过串联空间注意力模块和通道注意力模块,在聚焦特征差异的同时降低数据维度,提高煤矸石检测性能;在Neck部分采用双向特征金字塔网络(BiFPN)结构,通过融合不同尺度的特征提高模型计算效率,从而提升煤矸石检测速度;在Prediction部分采用Alpha−IoU函数作为损失函数,通过设置权重系数加速对高置信度目标的学习,进一步提高煤矸石检测精度。实验结果表明:CBA−YOLO模型对煤矸石的平均检测精度达98.2%,比YOLOv5模型提高了3.4%,检测速度提升了10%;CBA−YOLO模型的鲁棒性更强,可有效避免漏检、误检和重叠现象。

     

    Abstract: There are some problems in coal gangue detection, such as small differences of characteristics between samples and dense targets. This leads to low precision and poor real-time performance of the existing coal gangue detection methods. In order to solve this problem, a method of coal gangue detection based on CBA-YOLO model is proposed. The CBA-YOLO model is based on YOLOv5m, which has faster speed and higher precision. The convolutional block attention module (CBAM) is added to the Backbone of YOLOv5m. The spatial attention module and the channel attention module are connected in series to focus on the difference of characteristics and reduce the data dimension. And the detection performance of coal gangue is improved. In the Neck part, the bi-directional feature pyramid network (BiFPN) structure is adopted to improve the calculation efficiency of the model by integrating the features of different scales. Therefore, the detection speed of coal gangue is improved. In the Prediction part, the Alpha-IoU function is used as the loss function. And the weight coefficient is set to accelerate the learning of high confidence targets, so as to further improve the detection precision of coal gangue. The experimental results show that the average detection precision of CBA-YOLO model for coal gangue is 98.2%, which is 3.4% higher than that of YOLOv5 model. The detection speed is increased by 10%. CBA-YOLO model is more robust and can effectively avoid missed detection, false detection and overlap.

     

/

返回文章
返回