Non-Destructive Classification of Ataulfo Mango Ripeness Using Color Images and Machine Learning

Automatic classification of Ataulfo mango (Mangifera indica L.) ripeness is essential to ensure consistent quality, standardize post-harvest processes, and reduce the subjectivity of traditional visual inspection, which is unreliable and error-prone. This paper aims to develop a computationally efficient image classification system for Ataulfo mango ripeness by combining explicit color and texture feature extraction with a traditional machine learning model, thereby reducing the high computational costs typically associated with deep convolutional architectures. For this purpose, a dataset containing 10,400 images was created and divided into four maturity categories: green-ripe, partially ripe, firm-ripe, and soft-ripe. We select an optimal Multilayer Perceptron trained on compact 33-dimensional feature vectors and compare its performance with classical machine learning algorithms and pretrained deep neural networks, including MobileNetV2, MobileNetV3, and ResNet18. Our proposal achieves an accuracy of 0.8821, a macro-F1 score of 0.8784, and an AUC of 0.9751, which are better than those of classical classifiers and MobileNet-family models, while reducing computational cost by three orders of magnitude (GFLOPs). The ResNet18 model achieved a 3.56% relative improvement in macro-F1 score compared to our proposal, but its computational cost increased by four orders of magnitude in GFLOPS. In all evaluated architectures, the remaining classification errors occur between adjacent maturity stages and likely reflect the visual similarity inherent in the continuous ripening process. These findings demonstrate that manual feature engineering and model selection via hyperparameter tuning remain highly competitive and more sustainable for low-cost edge implementations in agriculture.

Authors

Institutions

Publication Details

Journal
Algorithms
Published
2026-08-18
DOI
https://doi.org/10.3390/a19080691
Primary Topic
Smart Agriculture and AI
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Non-Destructive Classification of Ataulfo Mango Ripeness Using Color Images and Machine Learning

Jorge Fuentes-Pacheco, Areli Bárcenas Nava, Mirna Castro Bello, Imanol Marianito-Cuahuitic et al.
Algorithms
Smart Agriculture and AI
article

Non-Destructive Classification of Ataulfo Mango Ripeness Using Color Images and Machine Learning

Jorge Fuentes-Pacheco, Areli Bárcenas Nava, Mirna Castro Bello, Imanol Marianito-Cuahuitic, Wilfrido Campos-Francisco
article en

Abstract

Automatic classification of Ataulfo mango (Mangifera indica L.) ripeness is essential to ensure consistent quality, standardize post-harvest processes, and reduce the subjectivity of traditional visual inspection, which is unreliable and error-prone. This paper aims to develop a computationally efficient image classification system for Ataulfo mango ripeness by combining explicit color and texture feature extraction with a traditional machine learning model, thereby reducing the high computational costs typically associated with deep convolutional architectures. For this purpose, a dataset containing 10,400 images was created and divided into four maturity categories: green-ripe, partially ripe, firm-ripe, and soft-ripe. We select an optimal Multilayer Perceptron trained on compact 33-dimensional feature vectors and compare its performance with classical machine learning algorithms and pretrained deep neural networks, including MobileNetV2, MobileNetV3, and ResNet18. Our proposal achieves an accuracy of 0.8821, a macro-F1 score of 0.8784, and an AUC of 0.9751, which are better than those of classical classifiers and MobileNet-family models, while reducing computational cost by three orders of magnitude (GFLOPs). The ResNet18 model achieved a 3.56% relative improvement in macro-F1 score compared to our proposal, but its computational cost increased by four orders of magnitude in GFLOPS. In all evaluated architectures, the remaining classification errors occur between adjacent maturity stages and likely reflect the visual similarity inherent in the continuous ripening process. These findings demonstrate that manual feature engineering and model selection via hyperparameter tuning remain highly competitive and more sustainable for low-cost edge implementations in agriculture.

AlgorithmsVol. 19(8)
Tecnológico Nacional de México (MX), Centro Nacional de Investigación y Desarrollo Tecnológico (MX)
Zero hunger
Openalex Percentile: Top 11%
Smart Agriculture and AI
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.