# Image-Based Segregation of High-Quality Dragon Fruits Among Ripe Fruits

**Authors:** Coral Ortiz, Nikita Dapurkar, Vicente Alegre, Francisco Rovira-Más

PMC · DOI: 10.3390/s26041113 · 2026-02-09

## TL;DR

This study uses image analysis to classify ripe dragon fruits by quality, offering a non-destructive and cost-effective method for the European market.

## Contribution

A novel non-destructive image-based classification system for dragon fruit quality assessment using visible and ultraviolet imaging.

## Key findings

- The classification system achieved 85% accuracy in segregating dragon fruits into three quality categories.
- Very high-quality fruits were identified with 93% accuracy using non-destructive image parameters.
- The method proved consistent across two sample sets and offers a reliable alternative to destructive testing.

## Abstract

The increasing demand for high-quality dragon fruit in the European market requires efficient quality assessment methods. This study explores a non-destructive image analysis approach for classifying ripe dragon fruits based on fruit ripeness and weight. A low-cost system equipped with visible and ultraviolet lighting was employed to capture images of two sets of samples of 60 and 92 ripe dragon fruits, extracting non-destructive parameters such as visible and ultraviolet perimeter, maximum and minimum diameter and area, and RGB color coordinates. Fruit destructive characterization parameters were also measured. The first set of samples was used to develop a discriminant classification model. In a first step, the main characterization magnitudes were confirmed. A ripening index was calculated based on soluble solid content and acidity. Then, a cluster analysis was used to segregate the fruits into three quality characteristics based on the ripening index and weight. In a second step, a step-by-step discriminant analysis was conducted to classify the fruits into the three quality categories (based on the laboratory-measured weight, soluble solid content and total acidity) using the non-destructive magnitudes extracted from the image analysis. The proposed classification system achieved an accuracy of nearly 85% of well-classified dragon fruits, effectively segregating dragon fruits into the three established categories. Furthermore, the established model could select the very high-quality dragon fruit (riper and larger fruits) with 93% of correctly identified products. A comparable procedure was subsequently applied to the additional set of samples (set 2), obtaining consistent results and confirming that image analysis magnitudes related to size and color enable fruit classification into the predefined weight- and ripeness-based categories. Compared to conventional destructive methods, this non-destructive approach offers a promising, cost-effective, and reliable solution for quality assessment. The findings highlight the potential for integrating smart technologies into fruit classification processes, during automatic harvest and postharvest operations, ultimately improving efficiency, reducing labor costs, and enhancing product consistency in the dragon fruit industry.

## Full-text entities

- **Diseases:** bruised (MESH:D003288), diseases (MESH:D004194), injury to (MESH:D014947), weight loss (MESH:D015431)
- **Chemicals:** citric acid (MESH:D019343), NaOH (MESH:D012972), sugar (MESH:D000073893), chlorophyll (MESH:D002734)
- **Species:** Mangifera indica (mango, species) [taxon 29780], Selenicereus undatus (dragon fruit, species) [taxon 176265], Selenicereus costaricensis (species) [taxon 1125938], Malus domestica (apple, species) [taxon 3750], Garcinia mangostana (mangosteen, species) [taxon 58228], Homo sapiens (human, species) [taxon 9606]

## Figures

7 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12944383/full.md

---
Source: https://tomesphere.com/paper/PMC12944383