Corrosion Prediction of AZ31 Mg Alloy Using Machine Learning and Digital Smartphone Images

Abstract This work presents a machine learning approach for analyzing the corrosion behavior of AZ31 magnesium alloy using digital images acquired with a smartphone camera assembled to a homemade studio. A controlled imaging system combined with automated feature extraction enabled the quantification of surface color and texture changes associated with corrosion progression. After removing multicollinearity through correlation-based feature selection, the resulting descriptors were used to develop supervised models for two different complementary tasks. First, classification models were trained to categorize samples according to corrosion exposure time (in days) based solely on image-derived features. The Linear Support Vector Classifier (LinearSVC) achieved the best performance, reaching a test accuracy of 0.906. Second, regression models were developed to quantitatively predict hydrogen evolution during corrosion from the same image descriptors. The optimized k-Nearest Neighbors (KNN) regressor provided the most accurate prediction of hydrogen volume (R2 = 0.914), along with low RMSE (1.76 mL) and MAE (0.94 mL) values, indicating strong agreement between predicted and experimental hydrogen volumes. These results demonstrate that macroscopic image features encode relevant physicochemical information related to corrosion processes, enabling both the classification of corrosion stages and the quantitative prediction of hydrogen generation using a rapid, low-cost, and nondestructive approach.

Authors

Institutions

Publication Details

Journal
ACS Omega
Published
2026-10-08
DOI
https://doi.org/10.1021/acsomega.6c06905
Primary Topic
Magnesium Alloys: Properties and Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Corrosion Prediction of AZ31 Mg Alloy Using Machine Learning and Digital Smartphone Images

Habdias A. Silva‐Neto, Hector Hernán Hernández Zarta, Thiago Ferreira da Conceição, Diego Galvan et al.
ACS Omega
Magnesium Alloys: Properties and Applications
article

Corrosion Prediction of AZ31 Mg Alloy Using Machine Learning and Digital Smartphone Images

Habdias A. Silva‐Neto, Hector Hernán Hernández Zarta, Thiago Ferreira da Conceição, Diego Galvan, André Maia Guedes, Vitória Helena de Azevedo
article en

Abstract

Abstract This work presents a machine learning approach for analyzing the corrosion behavior of AZ31 magnesium alloy using digital images acquired with a smartphone camera assembled to a homemade studio. A controlled imaging system combined with automated feature extraction enabled the quantification of surface color and texture changes associated with corrosion progression. After removing multicollinearity through correlation-based feature selection, the resulting descriptors were used to develop supervised models for two different complementary tasks. First, classification models were trained to categorize samples according to corrosion exposure time (in days) based solely on image-derived features. The Linear Support Vector Classifier (LinearSVC) achieved the best performance, reaching a test accuracy of 0.906. Second, regression models were developed to quantitatively predict hydrogen evolution during corrosion from the same image descriptors. The optimized k-Nearest Neighbors (KNN) regressor provided the most accurate prediction of hydrogen volume (R2 = 0.914), along with low RMSE (1.76 mL) and MAE (0.94 mL) values, indicating strong agreement between predicted and experimental hydrogen volumes. These results demonstrate that macroscopic image features encode relevant physicochemical information related to corrosion processes, enabling both the classification of corrosion stages and the quantitative prediction of hydrogen generation using a rapid, low-cost, and nondestructive approach.

ACS Omega
Universidade Federal de Santa Catarina (BR), Fundacion Allende (AR)
Openalex Percentile: Top 28%
Magnesium Alloys: Properties and Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Corrosion Prediction of AZ31 Mg Alloy Using Machine Learning and Digital Smartphone Images — Habdias A. Silva‐Neto, Hector Hernán Hernández Zarta, et al. · ACS Omega (2026) | TGRS Research Map | TGRS