# Predicting Nutritional and Morphological Attributes of Fresh Commercial Opuntia Cladodes Using Machine Learning and Imaging

**Authors:** Juan Arredondo Valdez, Josué Israel García López, Héctor Flores Breceda, Ajay Kumar, Ricardo David Valdez Cepeda, Alejandro Isabel Luna Maldonado

PMC · DOI: 10.3390/jimaging12020067 · 2026-02-05

## TL;DR

This study uses machine learning and hyperspectral imaging to non-destructively predict the nutritional and antioxidant content of fresh Opuntia cladodes, offering a fast and efficient quality control method.

## Contribution

The study introduces a non-destructive method to simultaneously quantify 17 variables from a single hyperspectral scan of Opuntia cladodes with high accuracy.

## Key findings

- High-precision models predicted 10 minerals, chlorophylls, and antioxidant capacities with R² values up to 0.988.
- The method replaces traditional destructive lab techniques with a single hyperspectral scan.
- The framework supports interdisciplinary collaboration to improve Opuntia product quality.

## Abstract

Opuntia ficus-indica L. is a prominent crop in Mexico, requiring advanced non-destructive technologies for the real-time monitoring and quality control of fresh commercial cladodes. The primary research objective of this study was to develop and validate high-precision mathematical models that correlate hyperspectral signatures (400–1000 nm) with the specific nutritional, morphological, and antioxidant attributes of fresh cladodes (cultivar Villanueva) at their peak commercial maturity. By combining hyperspectral imaging (HSI) with machine learning algorithms, including K-Means clustering for image preprocessing and Partial Least Squares Regression (PLSR) for predictive modeling, this study successfully predicted the concentrations of 10 minerals (N, P, K, Ca, Mg, Fe, B, Mn, Zn, and Cu), chlorophylls (a, b, and Total), and antioxidant capacities (ABTS, FRAP, and DPPH). The innovative nature of this work lies in the simultaneous non-destructive quantification of 17 distinct variables from a single scan, achieving coefficients of determination (R2) as high as 0.988 for Phosphorus and Chlorophyll b. The practical applicability of this research provides a viable replacement for time-consuming and destructive laboratory acid digestion, enabling producers to implement automated, high-throughput sorting lines for quality assurance. Furthermore, this study establishes a framework for interdisciplinary collaborations between agricultural engineers, data scientists for algorithm optimization, and food scientists to enhance the functional value chain of Opuntia products.

## Linked entities

- **Chemicals:** N (PubChem CID 223), P (PubChem CID 139579), K (PubChem CID 813), Ca (PubChem CID 271), Mg (PubChem CID 888), Fe (PubChem CID 23925), B (PubChem CID 5462311), Mn (PubChem CID 23930), Zn (PubChem CID 23994), Cu (PubChem CID 23978), chlorophyll a (PubChem CID 6266510), chlorophyll b (PubChem CID 11593175), ABTS (PubChem CID 35688)

## Full-text entities

- **Diseases:** inflammatory (MESH:D007249), injury to (MESH:D014947), CAM (MESH:D008659), drought (MESH:C536747), HSI (MESH:C564543)
- **Chemicals:** N (MESH:D009584), Chlorophyll (MESH:D002734), DPPH (MESH:C004931), proline (MESH:D011392), methanol (MESH:D000432), P (MESH:D010758), Zn (MESH:D015032), Cu (MESH:D003300), B (MESH:D001895), water (MESH:D014867), Fe (MESH:D007501), phenolic acids (MESH:C017616), Phenols (MESH:D010636), Cl (MESH:D002713), phenolic (-), K (MESH:D011188), betalain (MESH:D050858), Na (MESH:D012964), Chlorophyll b. (MESH:C037184), a (MESH:D001151), perchloric acid (MESH:C576518), Mg (MESH:D008274), nitric acid (MESH:D017942), flavonoids (MESH:D005419), Mn (MESH:D008345), CA (MESH:D002118), polyphenols (MESH:D059808), ABTS (MESH:C002502), lipid (MESH:D008055)
- **Species:** Homo sapiens (human, species) [taxon 9606], Opuntia ficus-indica (Indian-fig, species) [taxon 371859], Bos taurus (bovine, species) [taxon 9913], Oryza sativa (Asian cultivated rice, species) [taxon 4530]

## Figures

5 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12941559/full.md

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