Hostname: page-component-76d6cb85b7-f97m6 Total loading time: 0 Render date: 2026-07-12T17:22:38.654Z Has data issue: false hasContentIssue false

Automatic assessment of rust level on screws using convolutional neural networks

Published online by Cambridge University Press:  02 July 2026

Marco Mandolini*
Affiliation:
Università Politecnica delle Marche, Italy
Luca Manuguerra
Affiliation:
Università Politecnica delle Marche, Italy
Sylvain Dimanche
Affiliation:
Polytech Marseille, France
Giovanni Formentini
Affiliation:
Circular Momentum, Denmark

Abstract:

This paper presents a deep learning-based approach to automatically classify the rust level of screws using ResNet-18 and MobileNetV3 convolutional neural networks. A controlled salt-spray chamber was used to simulate corrosion on metal screws over 0h, 48h, 96h, and 168h of exposure. Images were processed with a circle-detection algorithm to extract individual screws, followed by data augmentation and training. The final models achieved a classification accuracy greater than 94% on the validation set.

Information

Type
ARTIFICIAL INTELLIGENCE AND DATA-DRIVEN DESIGN
Creative Commons
Creative Common License - CCCreative Common License - BYCreative Common License - NCCreative Common License - ND
This is an Open Access article, distributed under the terms of the Creative Commons Attribution-NonCommercial-NoDerivatives licence (https://creativecommons.org/licenses/by-nc-nd/4.0/), which permits non-commercial re-use, distribution, and reproduction in any medium, provided the original work is unaltered and is properly cited. The written permission of Cambridge University Press must be obtained for commercial re-use or in order to create a derivative work.
Copyright
The Author(s), 2026
Figure 0

Figure 1. Plate of zinc-coated A (left) and uncoated B (right) screws before exposure (0h)

Figure 1

Figure 2. Plate of zinc-coated A (left) and uncoated B (right) screws after exposure (168h)

Figure 2

Figure 3. Circle detection with Hough Transform (left) and a cropped screw image (right)

Figure 3

Figure 4. Principal Component Analysis (PCA) projection of screw detection parameters

Figure 4

Figure 5. Examples of augmented screw images showing rotation, distortion, and lighting variation. (a) Original crop (no augmentation applied), (b) random rotation (∼+20°), (c) random brightness increase, (d) random contrast increase, (e) rotation combined with perspective distortion, (f) strong perspective distortion, (g) rotation with brightness jitter, (h) rotation with contrast jitter

Figure 5

Figure 6. Training loss (left) and validation (right) curves for Model A

Figure 6

Figure 7. Training loss (left) and validation accuracy (right) curves for Model B

Figure 7

Table 1. Validation classification metrics for models A and B

Figure 8

Figure 8. Confusion matrix for model A (left) and model B (right)

Figure 9

Figure 9. Real-world image of an unrusted (class: 0, left) and rusted screw (class: 3, right)