Xu Xiaoguang, Ding Jiale, Ding Qi'an, Wang Qikai, Xun Yi
College of Electrical Engineering, Anhui Polytechnic University, Wuhu, 241000, Anhui, China.
College of Mechanical Engineering, Anhui Science and Technology University, ChuZhou, 233100, China.
Sci Rep. 2024 Dec 28;14(1):31107. doi: 10.1038/s41598-024-82323-9.
The quantity of cable conductors is a crucial parameter in cable manufacturing, and accurately detecting the number of conductors can effectively promote the digital transformation of the cable manufacturing industry. Challenges such as high density, adhesion, and knife mark interference in cable conductor images make intelligent detection of conductor quantity particularly difficult. To address these challenges, this study proposes the YOLO-cable model, which is an improvement made upon the YOLOv10 model. Specifically, the Focal loss function is introduced, the C2F structure in the backbone is optimized, the Focal NeXt module is added, and a multi-scale feature (MSF) module is incorporated in the Neck section. Comparative experiments with various YOLO series models demonstrate that the YOLO-cable model significantly outperformed the baseline YOLOv10s model as it achieves recall, mAP0.5, and mAP scores of 0.982, 0.994, and 0.952, respectively. Further visualization analysis shows that the overlap of YOLO-cable detection boxes with manually labeled samples reaches 90.9% in length and 95.7% in height, indicating high data consistency. The IOU threshold adopted by the model enables it to effectively filter out false detection, thus ensuring detection accuracy. In short, the proposed model excels in detecting the number of cable conductors, enhancing quality control in cable production. This study provides new insights and technical support for the application of deep learning in industrial inspections.
电缆导体数量是电缆制造中的一个关键参数,准确检测导体数量能够有效推动电缆制造业的数字化转型。电缆导体图像中存在的高密度、粘连以及刀痕干扰等挑战,使得对导体数量进行智能检测尤为困难。为应对这些挑战,本研究提出了YOLO-cable模型,它是在YOLOv10模型基础上的改进。具体而言,引入了Focal损失函数,优化了主干中的C2F结构,添加了Focal NeXt模块,并在Neck部分并入了多尺度特征(MSF)模块。与各种YOLO系列模型进行的对比实验表明,YOLO-cable模型显著优于基线YOLOv10s模型,其召回率、mAP0.5和mAP分数分别达到了0.982、0.994和0.952。进一步的可视化分析表明,YOLO-cable检测框与手动标注样本在长度上的重叠率达到90.9%,在高度上的重叠率达到95.7%,表明数据一致性较高。该模型采用的交并比阈值使其能够有效滤除误检,从而确保检测精度。简而言之,所提出的模型在检测电缆导体数量方面表现出色,提升了电缆生产中的质量控制。本研究为深度学习在工业检测中的应用提供了新的见解和技术支持。