(2) Zainab H. Zalaan
(3) * Murthad Hussein AL-Yoonus
(4) Mohammed K. Ahmed
(5) Omar Farook Mohammad
(6) Zaid Ameen Abduljabbar
(7) Abdulla J. Y. Aldarwish
(8) Vincent Omollo Nyangaresi
(9) Ali Hasan Ali
*corresponding author
AbstractThe automated surface defect inspection is important for quality assurance in the steel production process, but it remains difficult due to non-uniform illumination and low contrast between defects and the surface. Traditional global contrast enhancement methods can increase the background noise resulting in higher false-positive rates. To overcome these visual complexities, we introduce a lightweight dual-stage framework that integrates two methods: Contrast-Limited Adaptive Histogram Equalization (CLAHE) and Efficient Channel Attention (ECA) for a YOLOv8 network, addressing this trade-off and enhancing the model's performance. The main goal is to improve the local defect boundaries and dynamically remove background noise without increasing computational complexity. We apply the Contrast Limited Adaptive Histogram Equalization (CLAHE) to our method as a preprocessing step to improve local contrast of pixels and an Efficient Channel Attention (ECA) module to adjust the model, allowing it to focus on defect-related features. Experiments on NEU-DET demonstrate that the proposed dual-layered enhancement outperforms the YOLOv8n and YOLOv5n baselines. Specifically, the proposed framework can achieve a mean Average Precision (mAP@0.5) of 78.5%, showing a 3.7% gain over the baseline model with an inference speed of 41 frames per second (FPS). Qualitative analysis also shows the effectiveness of this framework for the localization of subtle and low-contrast defects such as crazing and micro-scratches. These results demonstrate that the integration of local contrast enhancement and adaptive feature recalibration results in a lightweight framework suited for deployment industrial inspection systems.
KeywordsSteel surface defect detection; Object detection; Lightweight deep learning; YOLOv8n; CLAHE; Efficient Channel Attention (ECA); NEU-DET dataset; Industrial quality control
|
DOIhttps://doi.org/10.26555/ijain.v12i4.2643 |
Article metricsAbstract views : 3 |
Cite |
References
[1] F. Gerschner et al., “Domain transfer for surface defect detection using few-shot learning on scarce data,” in 2023 IEEE 21st International Conference on Industrial Informatics (INDIN), IEEE, 2023, pp. 1–7. doi: 10.1109/INDIN51400.2023.10217859.
[2] Y.-S. Ni, W.-L. Chen, Y. Liu, M.-H. Wu, and J.-I. Guo, “Optimizing automated optical inspection: An adaptive fusion and semi-supervised self-learning approach for elevated accuracy and efficiency in scenarios with scarce labeled data,” Sensors, vol. 24, no. 17, p. 5737, 2024, doi: 10.3390/s24175737.
[3] C.-C. Chen, H.-Y. Liao, and C.-Y. Liu, “AIoT-enabled defect detection with minimal data: A few-shot learning approach combining prototypical and relational networks for smart manufacturing,” Internet Things, vol. 27, p. 101327, 2024, doi: 10.1016/j.iot.2024.101327.
[4] J. Redmon, S. Divvala, R. Girshick, and A. Farhadi, “You only look once: Unified, real-time object detection,” in 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), IEEE, 2016, pp. 779–788. doi: 10.1109/CVPR.2016.91.
[5] A. Vijayakumar and S. Vairavasundaram, “YOLO-based object detection models: A review and its applications,” Multimed. Tools Appl., vol. 83, pp. 83535–83574, 2024, doi: 10.1007/s11042-024-18872-y.
[6] E. Cumbajin et al., “A systematic review on deep learning with CNNs applied to surface defect detection,” J. Imaging, vol. 9, no. 10, p. 193, 2023, doi: 10.3390/jimaging9100193.
[7] M. Mao and M. Hong, “YOLO object detection for real-time fabric defect inspection in the textile industry: A review of YOLOv1 to YOLOv11,” Sensors, vol. 25, no. 7, p. 2270, 2025, doi: 10.3390/s25072270.
[8] D. Wang, J. Peng, S. Lan, and W. Fan, “CTDD-YOLO: A lightweight detection algorithm for tiny defects on tile surfaces,” Electronics, vol. 13, no. 19, p. 3931, 2024, doi: 10.3390/electronics13193931.
[9] M. Calabrese, L. Agnusdei, G. Fontana, G. Papadia, and A. Del Prete, “Application of Mask R-CNN and YOLOv8 algorithms for defect detection in printed circuit board manufacturing,” Discov. Appl. Sci., vol. 7, no. 4, p. 257, 2025, doi: 10.1007/s42452-025-06641-x.
[10] P. K. Singh, R. Sharma, and A. Kumar, “Impact of adaptive contrast enhancement on deep learning object detection for low-contrast industrial visual inspection,” J. Manuf. Process., vol. 95, pp. 312–324, 2023, doi: 10.1016/j.jmapro.2023.04.015.
[11] T. S. Lee, M. H. Park, and K. S. Kim, “Evaluation of contrast-limited adaptive histogram equalization for enhancing low-contrast visual features in YOLO object detection,” IEEE Access, vol. 11, pp. 88120–88132, 2023, doi: 10.1109/ACCESS.2023.3305112.
[12] J. K. Patel and R. Kumar, “Evaluation of contrast enhancement algorithms for low-contrast surface defect detection in automated steel manufacturing,” Measurement, vol. 218, p. 113190, 2023, doi: 10.1016/j.measurement.2023.113190.
[13] R. Y. Ju and C. Cai, “Architecture-dependent effects of contrast-limited adaptive histogram equalization across single-stage deep object detectors,” Expert Syst. Appl., vol. 238, p. 122150, 2024, doi: 10.1016/j.eswa.2023.122150.
[14] Y. Ma, J. Yin, F. Huang, and Q. Li, “Surface defect inspection of industrial products with object detection deep networks: A systematic review,” Artif. Intell. Rev., vol. 57, no. 12, p. 333, 2024, doi: 10.1007/s10462-024-10956-3.
[15] Q. Wang, B. Wu, P. Zhu, P. Li, W. Zuo, and Q. Hu, “ECA-Net: Efficient channel attention for deep convolutional neural networks,” IEEE Trans. Pattern Anal. Mach. Intell., vol. 44, no. 10, pp. 5608–5615, 2022, doi: 10.1109/TPAMI.2021.3061226.
[16] H. Cheng, X. Liu, Y. Zhang, and L. Wang, “A real-time steel strip surface defect detection network incorporating efficient channel attention and multi-scale feature fusion,” Comput. Ind., vol. 154, p. 104021, 2024, doi: 10.1016/j.compind.2023.104021.
[17] G. Jocher, A. Chaurasia, and J. Qiu, “Ultralytics YOLOv8: Next-generation object detection framework.” Ultralytics, 2023. [Online]. Available: https://github.com/ultralytics/ultralytics
[18] M. Prunella et al., “Deep learning for automatic vision-based recognition of industrial surface defects: A survey,” IEEE Access, vol. 11, pp. 43370–43423, 2023, doi: 10.1109/ACCESS.2023.3271748.
[19] C. Zhao, X. Shu, X. Yan, X. Zuo, and F. Zhu, “RDD-YOLO: A modified YOLO for detection of steel surface defects,” Measurement, vol. 214, p. 112776, 2023, doi: 10.1016/j.measurement.2023.112776.
[20] X. Zhang, Y. Chen, W. Zhao, and S. Liu, “Spatial deep ghost convolution and channel attention mechanisms for lightweight surface defect detection,” IEEE Trans. Ind. Informatics, vol. 20, no. 3, pp. 4112–4122, 2024, doi: 10.1109/TII.2023.3312450.
[21] Y. Hu, J. Wang, W. Wang, and Y. Xu, “Lightweight deep neural network with channel attention for automated optical inspection in metal manufacturing,” J. Ind. Inf. Integr., vol. 35, p. 100512, 2023, doi: 10.1016/j.jii.2023.100512.
[22] Q. Wang, M. Wang, J. Sun, D. Chen, and P. Shi, “Review of surface-defect detection methods for industrial products based on machine vision,” IEEE Access, vol. 13, pp. 90668–90697, 2025, doi: 10.1109/ACCESS.2025.3571297.
[23] D. Li, Z. Zhao, and Y. Chen, “DEW-YOLO: An efficient and high-precision steel strip surface defect detection algorithm using deformable convolutions,” Appl. Sci., vol. 14, no. 8, p. 3312, 2024, doi: 10.3390/app14083312.
[24] Z. Yuan, H. Wang, and J. Geng, “Steel surface defect detection based on improved YOLOv8 with adaptive receptive fields and attention mechanisms,” Electronics, vol. 13, no. 7, p. 1245, 2024, doi: 10.3390/electronics13071245.
[25] B. Xu, H. Wang, and Y. Liu, “SLF-YOLO: A lightweight object detection model for resource-constrained metal surface defect detection,” Sci. Rep., vol. 14, no. 1, p. 8921, 2024, doi: 10.1038/s41598-024-59821-3.
[26] M. Zhu, L. Zhang, and X. Chen, “Steel surface defect detection based on lightweight YOLOv8 with attention mechanism,” Appl. Sci., vol. 14, no. 21, p. 9708, 2024, doi: 10.3390/app14219708.
[27] L. Zhang, Z. Wang, Y. Ma, and G. Li, “Steel surface defect detection algorithm based on improved YOLOv10,” Sci. Rep., vol. 15, no. 1, p. 32827, 2025, doi: 10.1038/s41598-025-16725-8.
[28] W. Li, M. I. Solihin, S. A. Saruchi, W. Astuti, L. W. Hong, and A. C. Kit, “Surface defects detection of cylindrical high-precision industrial parts based on deep learning algorithms: A review,” SN Oper. Res. Forum, vol. 5, no. 3, Art. no. 58, 2024, doi: 10.1007/s43069-024-00337-5.
[29] Z. Zou, K. Chen, Z. Shi, Y. Guo, and J. Ye, “Object detection in 20 years: A survey,” Proc. IEEE, vol. 111, no. 3, pp. 257–276, 2023, doi: 10.1109/JPROC.2023.3238524.
[30] R. Tallat et al., “Navigating Industry 5.0: A survey of key enabling technologies, trends, challenges, and opportunities,” IEEE Commun. Surv. Tutorials, vol. 26, no. 2, pp. 1080–1126, 2024, doi: 10.1109/COMST.2023.3329472.
[31] G. Zhu, H. Qi, and K. Lv, “DGYOLOv8: An enhanced model for steel surface defect detection based on YOLOv8,” Mathematics, vol. 13, no. 5, p. 831, 2025, doi: 10.3390/math13050831.
[32] L. Qiu, X. Wu, and Z. Yu, “A high-efficiency fully convolutional networks for pixel-wise surface defect detection,” IEEE Access, vol. 7, pp. 15884–15893, 2019, doi: 10.1109/ACCESS.2019.2894420.
[33] Y. J. Jeon, D. C. Choi, S. J. Lee, J. P. Yun, and S. W. Kim, “Steel-surface defect detection using a switching-lighting scheme,” Appl. Opt., vol. 55, no. 1, pp. 47–57, 2015, doi: 10.1364/AO.55.000047.
[34] H. Son, N. Hwang, C. Kim, and C. Kim, “Rapid and automated determination of rusted surface areas of a steel bridge for robotic maintenance systems,” Autom. Constr., vol. 42, pp. 13–24, 2014, doi: 10.1016/j.autcon.2014.02.016.
[35] B. Li et al., “NGD-YOLO: An improved real-time steel surface defect detection algorithm,” Electronics, vol. 14, no. 14, p. 2859, 2025, doi: 10.3390/electronics14142859.
[36] E. Reswara, S. Suakanto, and S. A. Putra, “Comparison of object detection algorithm using YOLO vs Faster R-CNN: A systematic literature review,” in Proceedings of the 2023 6th International Conference on Big Data Technologies (ICBDT), ACM, 2023, pp. 1–9. doi: 10.1145/3627377.3627443.
[37] O. Olorunshola, P. Jemitola, and A. Ademuwagun, “Comparative study of deep learning object detection algorithms,” Nile J. Eng. Appl. Sci., vol. 1, no. 1, pp. 70–80, 2023, doi: 10.5455/NJEAS.150264.
[38] J. Wang et al., “An improved YOLOv8 model for strip steel surface defect detection,” Appl. Sci., vol. 15, no. 1, p. 52, 2024, doi: 10.3390/app15010052.
[39] M. Peng, S. Bai, and Y. Lu, “Steel surface defect detection algorithm based on improved YOLOv8 modeling,” Appl. Sci., vol. 15, no. 15, p. 8759, 2025, doi: 10.3390/app15158759.
[40] X. Song, S. Cao, J. Zhang, and Z. Hou, “Steel surface defect detection algorithm based on YOLOv8,” Electronics, vol. 13, no. 5, p. 988, 2024, doi: 10.3390/electronics13050988.
[41] B. Thurston, “Defect detection in manufacturing: Leveraging YOLOv8 for real-time quality control on production lines,” J. Comput. Sci. Softw. Appl., vol. 4, no. 5, pp. 1–7, 2024. [Online]. Available: https://www.mfacademia.org/index.php/jcssa/article/view/155
[42] M. Jamal, S. Faisal, D. S. Kusumaningrum, and T. Rohana, “Application of YOLOv8 for product defect detection in manufacturing companies,” J. Sist. Inf. dan Ilmu Komput, vol. 13, no. 5, p. 988, 2024, doi:10.34012/jurnalsisteminformasidanilmukomputer.v8i1.5318.
[43] Y. He, K. Song, Q. Meng, and Y. Yan, “An adaptive image segmentation network for surface defect detection,” IEEE Trans. Instrum. Meas., vol. 70, pp. 1–12, 2021, doi: 10.1109/TIM.2021.3096284.
[44] G. Jocher et al., “YOLOv5 by Ultralytics (Version 7.0) [Computer software].” Zenodo, vol. 7, 2020. doi: 10.5281/zenodo.3908559.
[45] G. Jocher, A. Chaurasia, and J. Qiu, “YOLO by Ultralytics (Version 8.0.0) [Computer software].” 2023. [Online]. Available: https://github.com/ultralytics/ultralytics
[46] M. Yu, D. Song, W. Shi, and S. Li, “Application of the CLAHE algorithm based on optimized bilinear interpolation in near infrared vein image enhancement,” in Proceedings of the 2nd International Conference on Computer Science and Application Engineering, ACM, 2018, pp. 1–6. doi: 10.1145/3207677.3278028.

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
___________________________________________________________
International Journal of Advances in Intelligent Informatics
ISSN 2442-6571 (print) | 2548-3161 (online)
Organized by UAD and ASCEE Computer Society
Published by Universitas Ahmad Dahlan
W: http://ijain.org
E: info@ijain.org (paper handling issues)
andri.pranolo.id@ieee.org (publication issues)
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0
























