军事知识服务平台
基于改进YOLOv8n轻量级子模型的船体焊缝缺陷检测方法
Hull Weld Defect Detection Method Based on Improved YOLOv8n Lightweight Submodel
摘要 针对传统船体焊缝缺陷检测方法精度低和实时推理速度慢等问题,采用仅看一次即可完成的统一实时目标检测(You Only Look Dnce:Unified,Real-Time Object Detection,YOLO)算法中的 YOLOv8n轻量级子模型,提出一种基于改进YOLOv8n轻量级子模型的船体焊缝缺陷检测方法.论述YOLOv8模型的原理与结构,从跨阶段部分融合双卷积模块(Cross Stage Partial Fusion with 2 Convolutions,C2f模块)、颈部网络和损失函数等方面进行YOLOv8n轻量级子模型改进,并对该方法进行性能试验.结果表明,该方法可满足船体焊缝缺陷检测对轻量化和精度的要求.
Abstract:
In view of the problems of low precision and slow real-time inference speed in traditional hull weld defect detection methods,with the YOLOv8n lightweight submodel in You Only Look Once:Unified,Real-Time Object Detection(YOLO)algorithm,a hull weld defect detection method based on the improved YOLOv8n lightweight submodel is proposed.The principle and structure of YOLOv8 model are discussed,the improvements of YOLOv8n lightweight submodel are made in Cross Stage Partial Fusion with 2 Convolutions(C2f module),Neck,and loss function,and the performance tests of the method are conducted.The results show that the method can meet the lightweight and precision requirements for hull weld defect detection.