hig.sePublications
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • harvard-cite-them-right
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • sv-SE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • de-DE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Automated Classification of Steel Surface Defects Using Advanced Deep Neural Networks
University of Gävle, Faculty of Engineering and Sustainable Development, Department of Electrical Engineering, Mathematics and Science, Electronics.
2026 (English)Independent thesis Advanced level (degree of Master (One Year)), 10 credits / 15 HE creditsStudent thesis
Abstract [en]

Maintaining stringent surface quality is an important requirement in the manufacturing of precision steel strips. Automated production lines employ two-dimensional (2D) optical Surface Inspection Systems (SIS) to detect surface anomalies over large material areas. Although these systems are effective in identifying visual defects, conventional 2D images do not directly provide three-dimensional (3D) characteristics such as dent depth, which may determine whether a detected defect satisfies the applicable industrial acceptance criterion. Consequently, additional metrological inspection may be required to determine the physical severity of detected dents, increasing the time and resources associated with the quality-control process. This thesis proposes a deep learning framework designed to complement an existing industrial 2D optical inspection system by predicting whether a steel strip containing detected dents should be classified as Approved or NotApproved. The problem is formulated using weakly supervised multiple instance learning (WS-MIL), in which each steel-strip image is represented as a bag of image patches and only an image-level quality label is provided during training. This formulation enables image-level classification without requiring patch-level annotations or explicit defect localization. The methodology was developed and evaluated using an industrial dataset of 148 steel-strip images with binary quality labels and corresponding high precision dent-depth measurements obtained through microscope inspection. Non-informative lateral image regions were automatically removed to obtain the steel-only image area, which was subsequently divided into partially overlapping patches for multiple instance learning (MIL)-based classification. Four convolutional neural network architectures were evaluated as feature-extraction backbones: a custom Convolutional Neural Network (CNN), MobileNetV2, EfficientNet-B0, and ResNet-50. The custom CNN was trained from scratch, whereas the other three architectures were initialized with ImageNet-pretrained weights and subsequently fine-tuned end-to-end on the industrial dataset. Among the investigated architectures, ResNet-50 achieved the best test performance, with an accuracy of 91.3%, precision of 87.5%, recall of 100%, and F1-score of 93.3%. The corresponding confusion matrix contained 14 true positives, 7 true negatives, 2 false positives, and no false negatives. Post-hoc analysis was additionally used to identify the critical image patch producing the strongest independent NotApproved response for each test image. A sensitivity analysis of different patch-width and stride configurations showed that the selected configuration provided the best overall classification performance among the investigated image partitioning strategies. These results provide evidence of the feasibility of using conventional 2D optical imagery together with WS-MIL to support dent-related quality classification without requiring explicit defect localization during training. The absence of false negatives in the investigated test set is particularly relevant to a conservative quality-control strategy, although the limited dataset size requires the results to be interpreted cautiously. The proposed framework therefore represents a decision-support approach for industrial surface inspection and provides a basis for further validation on larger and more diverse industrial datasets.

Place, publisher, year, edition, pages
2026. , p. 101
National Category
Computer graphics and computer vision
Identifiers
URN: urn:nbn:se:hig:diva-51116OAI: oai:DiVA.org:hig-51116DiVA, id: diva2:2104730
External cooperation
Alleima
Subject / course
Electronics
Educational program
Electronics/Automation – master's programme (two years) (sv or eng)
Supervisors
Examiners
Available from: 2026-09-25 Created: 2026-09-24 Last updated: 2026-09-25Bibliographically approved

Open Access in DiVA

fulltext(3401 kB)36 downloads
File information
File name FULLTEXT02.pdfFile size 3401 kBChecksum SHA-512
01d0b52e3b986997ebb743ffeed497db7c05772d03f982b9d021a476872cf9bca869a11ebbdf0c08b9c714c890fd0837c2b84dd080c195097944111926a6dc96
Type fulltextMimetype application/pdf

By organisation
Electronics
Computer graphics and computer vision

Search outside of DiVA

GoogleGoogle Scholar
Total: 36 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 80 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • harvard-cite-them-right
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • sv-SE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • de-DE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf