{"title":"An efficient and lightweight algorithm for detecting surface defects of steel based on SCCI-YOLO.","authors":"Huixiang Zhou, Hong Zou, Gaojun Hu","doi":"10.1038/s41598-025-20154-y","DOIUrl":null,"url":null,"abstract":"<p><p>Steel is a crucial raw material in the industrial sector, and its surface defects significantly impact product quality. These defects are diverse in type, complex in shape, uneven in distribution, and varied in size, posing substantial challenges for performance and detection. Addressing the limitations of current deep learning-based steel surface defect detection algorithms in feature extraction, feature fusion, and multi-scale defect recognition-leading to high false detection rates, frequent missed detections, and low detection accuracy-this paper proposes a steel surface defect detection algorithm based on an improved YOLOv8n, named SCCI-YOLO. Firstly, the SPD-Conv module is introduced into the backbone network, utilizing adaptive weight allocation to focus convolutional kernels more on critical regions of the image, thereby improving detection accuracy for low-resolution and small objects. Secondly, we designed the C2f_EMA module, aimed at extracting more useful feature information and enhancing feature fusion effects. To further enhance the detection capability for small defects, a lightweight cross-scale feature fusion module (CCFM) is incorporated into the Neck network. This module integrates features from different scales, enhancing the model's adaptability to scale variations and improving detection accuracy for small-scale objects. Finally, to address the weak generalization and slow convergence issues of existing IoU loss functions across different detection tasks, we employed the Inner-IoU loss function, which improves the model's convergence speed and regression accuracy.The experimental results show that SCCI-YOLO achieves a mAP of 78.6% on the NEU-DET dataset, which improves the detection accuracy by 2.2% and 5.9% compared to YOLOv8n and YOLOv7, respectively, and reduces the number of model parameters by 43.9% compared to the original model, and the study demonstrates that the algorithm exhibits an excellent overall performance in the detection of defects on steel surfaces.</p>","PeriodicalId":21811,"journal":{"name":"Scientific Reports","volume":"15 1","pages":"36276"},"PeriodicalIF":3.9000,"publicationDate":"2025-10-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC12533008/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Scientific Reports","FirstCategoryId":"103","ListUrlMain":"https://doi.org/10.1038/s41598-025-20154-y","RegionNum":2,"RegionCategory":"综合性期刊","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"MULTIDISCIPLINARY SCIENCES","Score":null,"Total":0}
引用次数: 0
Abstract
Steel is a crucial raw material in the industrial sector, and its surface defects significantly impact product quality. These defects are diverse in type, complex in shape, uneven in distribution, and varied in size, posing substantial challenges for performance and detection. Addressing the limitations of current deep learning-based steel surface defect detection algorithms in feature extraction, feature fusion, and multi-scale defect recognition-leading to high false detection rates, frequent missed detections, and low detection accuracy-this paper proposes a steel surface defect detection algorithm based on an improved YOLOv8n, named SCCI-YOLO. Firstly, the SPD-Conv module is introduced into the backbone network, utilizing adaptive weight allocation to focus convolutional kernels more on critical regions of the image, thereby improving detection accuracy for low-resolution and small objects. Secondly, we designed the C2f_EMA module, aimed at extracting more useful feature information and enhancing feature fusion effects. To further enhance the detection capability for small defects, a lightweight cross-scale feature fusion module (CCFM) is incorporated into the Neck network. This module integrates features from different scales, enhancing the model's adaptability to scale variations and improving detection accuracy for small-scale objects. Finally, to address the weak generalization and slow convergence issues of existing IoU loss functions across different detection tasks, we employed the Inner-IoU loss function, which improves the model's convergence speed and regression accuracy.The experimental results show that SCCI-YOLO achieves a mAP of 78.6% on the NEU-DET dataset, which improves the detection accuracy by 2.2% and 5.9% compared to YOLOv8n and YOLOv7, respectively, and reduces the number of model parameters by 43.9% compared to the original model, and the study demonstrates that the algorithm exhibits an excellent overall performance in the detection of defects on steel surfaces.
期刊介绍:
We publish original research from all areas of the natural sciences, psychology, medicine and engineering. You can learn more about what we publish by browsing our specific scientific subject areas below or explore Scientific Reports by browsing all articles and collections.
Scientific Reports has a 2-year impact factor: 4.380 (2021), and is the 6th most-cited journal in the world, with more than 540,000 citations in 2020 (Clarivate Analytics, 2021).
•Engineering
Engineering covers all aspects of engineering, technology, and applied science. It plays a crucial role in the development of technologies to address some of the world''s biggest challenges, helping to save lives and improve the way we live.
•Physical sciences
Physical sciences are those academic disciplines that aim to uncover the underlying laws of nature — often written in the language of mathematics. It is a collective term for areas of study including astronomy, chemistry, materials science and physics.
•Earth and environmental sciences
Earth and environmental sciences cover all aspects of Earth and planetary science and broadly encompass solid Earth processes, surface and atmospheric dynamics, Earth system history, climate and climate change, marine and freshwater systems, and ecology. It also considers the interactions between humans and these systems.
•Biological sciences
Biological sciences encompass all the divisions of natural sciences examining various aspects of vital processes. The concept includes anatomy, physiology, cell biology, biochemistry and biophysics, and covers all organisms from microorganisms, animals to plants.
•Health sciences
The health sciences study health, disease and healthcare. This field of study aims to develop knowledge, interventions and technology for use in healthcare to improve the treatment of patients.