Surface defect detection of steel based on improved YOLOv5 algorithm
To address the challenge of achieving a balance between efficiency and performance in steel surface defect detection, this paper presents a novel algorithm that enhances the YOLOv5 defect detection model. The enhancement process begins by employing the K-means++ algorithm to fine-tune the location o...
| الحاوية / القاعدة: | Mathematical Biosciences and Engineering |
|---|---|
| المؤلف الرئيسي: | |
| التنسيق: | مقال |
| اللغة: | الإنجليزية |
| منشور في: |
AIMS Press
2023-11-01
|
| الموضوعات: | |
| الوصول للمادة أونلاين: | https://www.aimspress.com/article/doi/10.3934/mbe.2023879?viewType=HTML |
| _version_ | 1850414573517012992 |
|---|---|
| author | Yiwen Jiang |
| author_facet | Yiwen Jiang |
| author_sort | Yiwen Jiang |
| collection | DOAJ |
| container_title | Mathematical Biosciences and Engineering |
| description | To address the challenge of achieving a balance between efficiency and performance in steel surface defect detection, this paper presents a novel algorithm that enhances the YOLOv5 defect detection model. The enhancement process begins by employing the K-means++ algorithm to fine-tune the location of the prior anchor boxes, improving the matching process. Subsequently, the loss function is transitioned from generalized intersection over union (GIOU) to efficient intersection over union (EIOU) to mitigate the former's degeneration issues. To minimize information loss, Carafe upsampling replaces traditional upsampling techniques. Lastly, the squeeze and excitation networks (SE-Net) module is incorporated to augment the model's sensitivity to channel features. Experimental evaluations conducted on a public defect dataset reveal that the proposed method elevates the mean average precision (mAP) by seven percentage points compared to the original YOLOv5 model, achieving an mAP of 83.3%. Furthermore, our model's size is significantly reduced compared to other advanced algorithms, while maintaining a processing speed of 47 frames per second. This performance demonstrates the effectiveness of the proposed enhancements in improving both accuracy and efficiency in defect detection. |
| format | Article |
| id | doaj-art-cd511852742a4faeb9d90474121eff20 |
| institution | Directory of Open Access Journals |
| issn | 1551-0018 |
| language | English |
| publishDate | 2023-11-01 |
| publisher | AIMS Press |
| record_format | Article |
| spelling | doaj-art-cd511852742a4faeb9d90474121eff202025-08-19T22:45:31ZengAIMS PressMathematical Biosciences and Engineering1551-00182023-11-012011198581987010.3934/mbe.2023879Surface defect detection of steel based on improved YOLOv5 algorithmYiwen Jiang0School of Intelligent Equipment, Changzhou College of Information Technology, Changzhou 213164, ChinaTo address the challenge of achieving a balance between efficiency and performance in steel surface defect detection, this paper presents a novel algorithm that enhances the YOLOv5 defect detection model. The enhancement process begins by employing the K-means++ algorithm to fine-tune the location of the prior anchor boxes, improving the matching process. Subsequently, the loss function is transitioned from generalized intersection over union (GIOU) to efficient intersection over union (EIOU) to mitigate the former's degeneration issues. To minimize information loss, Carafe upsampling replaces traditional upsampling techniques. Lastly, the squeeze and excitation networks (SE-Net) module is incorporated to augment the model's sensitivity to channel features. Experimental evaluations conducted on a public defect dataset reveal that the proposed method elevates the mean average precision (mAP) by seven percentage points compared to the original YOLOv5 model, achieving an mAP of 83.3%. Furthermore, our model's size is significantly reduced compared to other advanced algorithms, while maintaining a processing speed of 47 frames per second. This performance demonstrates the effectiveness of the proposed enhancements in improving both accuracy and efficiency in defect detection.https://www.aimspress.com/article/doi/10.3934/mbe.2023879?viewType=HTMLdefect detectionyolov5se-neteioucarafe upsampling |
| spellingShingle | Yiwen Jiang Surface defect detection of steel based on improved YOLOv5 algorithm defect detection yolov5 se-net eiou carafe upsampling |
| title | Surface defect detection of steel based on improved YOLOv5 algorithm |
| title_full | Surface defect detection of steel based on improved YOLOv5 algorithm |
| title_fullStr | Surface defect detection of steel based on improved YOLOv5 algorithm |
| title_full_unstemmed | Surface defect detection of steel based on improved YOLOv5 algorithm |
| title_short | Surface defect detection of steel based on improved YOLOv5 algorithm |
| title_sort | surface defect detection of steel based on improved yolov5 algorithm |
| topic | defect detection yolov5 se-net eiou carafe upsampling |
| url | https://www.aimspress.com/article/doi/10.3934/mbe.2023879?viewType=HTML |
| work_keys_str_mv | AT yiwenjiang surfacedefectdetectionofsteelbasedonimprovedyolov5algorithm |
