Hardness testing is a key procedure in materials science for evaluating mechanical properties and process quality. Traditional Vickers hardness measurement relies on manual identification of indentation diagonals, a process that is slow, subjective, and prone to variability. This work introduces a deep learning-based pipeline for fully automated Vickers hardness measurement, combining instance segmentation via Mask R-CNN with sub-pixel geometric fitting for diagonal extraction. A dataset of 403 micrographs of samples under loads from 10 gf to 2000 gf was assembled and annotated for training and validation. Hyperparameter optimisation was performed using a Taguchi design of experiments, and the final model achieved near-perfect segmentation accuracy (overall AP ≈ 90.5%) on the test set. Measurement accuracy was assessed against manual ground truth, yielding mean relative errors of 1.6-1.9% for the two diagonals, with most cases within 2-3%. These results demonstrate that the proposed system provides robust detection, high metrological precision, and reproducible performance across diverse imaging conditions, paving the way for reliable, high-throughput hardness testing in industrial and research settings.

Deep learning-powered system for automated detection and quantification of Vickers indentations

Francesco Bertolini;Marco Mariani;Nora Lecis
2026-01-01

Abstract

Hardness testing is a key procedure in materials science for evaluating mechanical properties and process quality. Traditional Vickers hardness measurement relies on manual identification of indentation diagonals, a process that is slow, subjective, and prone to variability. This work introduces a deep learning-based pipeline for fully automated Vickers hardness measurement, combining instance segmentation via Mask R-CNN with sub-pixel geometric fitting for diagonal extraction. A dataset of 403 micrographs of samples under loads from 10 gf to 2000 gf was assembled and annotated for training and validation. Hyperparameter optimisation was performed using a Taguchi design of experiments, and the final model achieved near-perfect segmentation accuracy (overall AP ≈ 90.5%) on the test set. Measurement accuracy was assessed against manual ground truth, yielding mean relative errors of 1.6-1.9% for the two diagonals, with most cases within 2-3%. These results demonstrate that the proposed system provides robust detection, high metrological precision, and reproducible performance across diverse imaging conditions, paving the way for reliable, high-throughput hardness testing in industrial and research settings.
2026
ARTIFICIAL INTELLIGENCE; DEEP LEARNING; MACHINE LEARNING; MASK R-CNN; METALLOGRAPHY; TAGUCHI DOE; VICKERS HARDNESS;
MACHINE LEARNING; ARTIFICIAL INTELLIGENCE; VICKERS HARDNESS; METALLOGRAPHY; MASK R-CNN; TAGUCHI DOE; DEEP LEARNING;
File in questo prodotto:
File Dimensione Formato  
Aim_gennaio2026_1.pdf

Accesso riservato

Descrizione: Articolo
: Publisher’s version
Dimensione 854.54 kB
Formato Adobe PDF
854.54 kB Adobe PDF   Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11311/1305059
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 0
  • ???jsp.display-item.citation.isi??? ND
social impact