EventsThe 5th International Electronic Conference on Processes
Published
This submission belongs to the session S3. Food Process Engineering of the event The 5th International Electronic Conference on Processes
Published date
15 Oct, 2026
Academic Editor
author-avatarDariusz Dziki
Contribution&Funding
Conceptualization,
[Camilaa Aparecida Lessa Soares] ; [Luana Haeberlin] ; [Wellerson de Oliveira Alves da Silva]
Methodology,
[Camilaa Aparecida Lessa Soares]
Writing - review,
[editing] ; [Renata Cássia Campos] ; [Nathan Mickael de Bessa Cunha] ; [Lucas Gonzaga Fagundes] ; [Ítalo Esteves Lopes] ; [Thalya Aleixo Avelar] ; [Beatriz Costa Carvalho] ; [Lara Rabello Nunes]
Funding: The authors would like to thank CAPES (Coordination for the Improvement of Higher Education Personnel – Funding Code 001) and CNPq (National Council for Scientific and Technological Development).
Citation
Camilaa Aparecida Lessa Soares, Luana Haeberlin, Renata Cássia Campos, Wellerson de Oliveira Alves da Silva, Nathan Mickael de Bessa Cunha, Lucas Gonzaga Fagundes, Ítalo Esteves Lopes, Thalya Aleixo Avelar, Beatriz Costa Carvalho, Lara Rabello Nunes, Application of Computer Vision and Digital Feature Extraction in the Identification of Post-Harvest Deterioration in Pitaya (Hylocereus undatus), in Proceedings of The 5th International Electronic Conference on Processes, 20 October–22 October 2026, MDPI: Basel, Switzerland
Share
Email
Facebook
Twitter
LinkedIn

Application of Computer Vision and Digital Feature Extraction in the Identification of Post-Harvest Deterioration in Pitaya (Hylocereus undatus)

Luana Haeberlin 2
Lucas Gonzaga Fagundes 1
Ítalo Esteves Lopes 1
Beatriz Costa Carvalho 1
Lara Rabello Nunes 1
1. Engenharia Agrícola, Universidade Federal de Viçosa, Viçosa, 36570-000, Brazil
2. Departamento Engenharia Agrícola, Universidade Federal de Viçosa, Viçosa, 36570-000, Brazil
Abstract
The pitaya (Hylocereus undatus) has high perishability and susceptibility to post-harvest pathogenic deterioration, resulting in economic losses during storage. As traditional manual sorting is slow and subject to human variability, this study evaluated the potential of digital color and texture features to differentiate healthy and deteriorated fruits. A database composed of 3,315 digital images was used, with 1,717 of healthy fruits and 1,598 of deteriorated fruits, obtained from local and internet sources available on the Kaggle platform. The images were processed in Python, in the Google Colab environment, to extract color features in RGB and HSV spaces and texture using the Gray Level Co-occurrence Matrix (GLCM). The averages of the red, green and hue channels were evaluated, in addition to the contrast and homogeneity descriptors. The five characteristics showed differences between classes according to the Mann-Whitney test (p < 0.001). Among the texture descriptors, contrast was 34.42% higher in deteriorated fruits, while homogeneity showed an increase of 28.05%, both with moderate effect sizes. Color characteristics showed smaller differences, with variations of -4.39%, +8.70%, and -16.58% for the means of red, green, and hue, respectively, and small effect sizes. Multivariate analysis indicated considerable overlap between classes. In the cross-validation classification, Random Forest outperformed SVM, with an accuracy of 92.83 ± 1.01%, precision of 89.79%, sensitivity of 96.09%, F1-score of 92.81%, and ROC-AUC of 0.9849, while SVM showed an accuracy of 87.25 ± 1.37% and an ROC-AUC of 0.9324. In Random Forest, homogeneity showed the highest relative importance for classification (27.65%), followed by the averages of red (21.47%) and green (18.63%), hue (16.85%), and texture contrast (15.40%). The results demonstrate that digital color and texture characteristics have discriminative capacity between healthy and deteriorated fruits, highlighting the potential of computer vision associated with machine learning for the automated quality screening of pitayas.
Keywords
Digital image processing Tropical fruit growing Color and texture descriptors
Poster
Banner_pitaya.pdf
Extension of a QuEChERS–UHPLC–QTOF-MS/MS Method for Tropane Alkaloid Determination in Maize Flour
Decoction-Based Extraction Conditions Governing Phenolic Recovery and Antioxidant Potential of Opuntia ficus indica