Development of a Lightweight CNN Model for Metal Surface Defect Detection in Resource-Constrained Environments

Authors

  • Dennis Mashoko Systems Engineer, Information and Communication Technology Department, University of Zimbabwe Author
  • Cross Gombiro Lecturer, Computer Science Department, University of Zimbabwe Author

Keywords:

Convolutional Neural Networks, Steel Industry, Machine Learning, Transfer Learning, Active Learning

Abstract

This research developed a customized, deep learning-based Convolutional Neural Network (CNN) model for automating metal surface defect detection in resource-constrained industrial environments, using the Zimbabwean steel industry as a case study. Manual inspection methods are labour-intensive and prone to error, emphasizing the need for an efficient, accurate solution. A research design approach combined with experimental design methods was employed to develop and evaluate the proposed CNN-based defect detection model. A lightweight CNN was designed and optimized for edge deployment, integrating transfer learning and active learning to improve performance under limited computational resources. The NEU Metal Surface Defects Database (1,800 images across six defect types) was used for training, and 200 Zimbabwean steel images were incorporated to adapt the model to local conditions. Transfer learning using MobileNetV2 enhanced both feature extraction and fine-tuning. Active learning with Monte Carlo dropout uncertainty sampling iteratively refined the model by selecting and re-labelling uncertain samples. The experimental results show significant performance improvements; the baseline L-CNN achieved 97.22% accuracy, transfer learning raised accuracy to 98.61%, and the final model with both techniques reached 99.4% with minimal loss (0.0042). Moreover, the results reflect that the L-CNN model is well-suited for contexts in developing countries like Zimbabwe, where challenges with computational resources and dataset availability are prevalent. The customized L-CNN sets a new benchmark for automated steel defect detection in developing regions, thus reducing inspection costs and improving quality control with high accuracy and efficiency.

 

Downloads

Download data is not yet available.

Additional Files

Published

2025-12-31 — Updated on 2026-10-21

Versions

How to Cite

Development of a Lightweight CNN Model for Metal Surface Defect Detection in Resource-Constrained Environments. (2026). POTRAZ ICT Research Journal, 2(2), 57-85. http://research.potraz.zw/index.php/ojs/article/view/35 (Original work published 2025)