Zhang Rongnan, Li Yang, Guan Zhiguang
School of Construction Machinery, Shandong Jiaotong University, Jinan, 250023, China.
Sci Rep. 2024 Dec 28;14(1):30864. doi: 10.1038/s41598-024-81430-x.
Injection molded parts are increasingly utilized across various industries due to their cost-effectiveness, lightweight nature, and durability. However, traditional defect detection methods for these parts often rely on manual visual inspection, which is inefficient, expensive, and prone to errors. To enhance the accuracy of defect detection in injection molded parts, a new method called MRB-YOLO, based on the YOLOv8 model, has been proposed. This method introduces several key improvements: (1) the MAFHead, a four-detection head based on multiplicative feature fusion, which replaces the original detection head to enhance feature representation; (2) the RepGFPN-SE module, a re-parameterized generalized feature pyramid network that improves detection of small objects by replacing the original C2f. module; (3) and the BiNorma module, employing a bi-level routing attention mechanism to optimize the training process by reducing input distribution changes across layers. The effectiveness of the MRB-YOLO model was validated through ablation and contrast experiments using a specially constructed dataset of injection molded parts defects. The results demonstrated an accuracy of 88.8%, a recall rate of 86.8%, and a mean average precision (mAP) of 91.5%. Compared to the YOLOv8n model, the MRB-YOLO model shows an increase in accuracy by 8.2%, in recall rate by 17.2%, and in mAP by 11.8%. These findings confirm that the MRB-YOLO model meets the requirements for accurate detection of defects in injection molded parts.
注塑成型零件因其成本效益高、重量轻且耐用,在各个行业中得到了越来越广泛的应用。然而,这些零件的传统缺陷检测方法通常依赖于人工目视检查,这种方法效率低下、成本高昂且容易出错。为了提高注塑成型零件缺陷检测的准确性,基于YOLOv8模型提出了一种名为MRB-YOLO的新方法。该方法引入了几个关键改进:(1)MAFHead,一种基于乘法特征融合的四检测头,它取代了原来的检测头以增强特征表示;(2)RepGFPN-SE模块,一种重新参数化的广义特征金字塔网络,通过取代原来的C2f模块来改进小物体的检测;(3)BiNorma模块,采用双级路由注意力机制,通过减少各层输入分布变化来优化训练过程。通过使用专门构建的注塑成型零件缺陷数据集进行消融实验和对比实验,验证了MRB-YOLO模型的有效性。结果表明,其准确率为88.8%,召回率为86.8%,平均精度均值(mAP)为91.5%。与YOLOv8n模型相比,MRB-YOLO模型的准确率提高了8.2%,召回率提高了17.2%,mAP提高了11.8%。这些发现证实,MRB-YOLO模型满足注塑成型零件缺陷精确检测的要求。