A Frequency–Spatial Feature Fusion Framework for Mango Ripeness Recognition Under Extreme Class Imbalance
Shinfeng Lin, Hongting Chiu
Key points
From the paper's conclusion- On the ripeness dataset, the fusion model achieved a slightly higher mean Macro-F1 (84.50%) than both the capacity-matched control and the single spatial branch.
Abstract
Ripeness recognition is a critical step in postharvest fruit handling. However, publicly available ripeness datasets are typically small and severely imbalanced, with a single dominant class accounting for more than 90% of the samples. Under such conditions, overall accuracy is dominated by the majority class and masks the deficiencies of the model on the minority classes. Accordingly, Macro-F1 is adopted as the primary evaluation metric. A spatial convolutional branch is combined with a wavelet-domain branch through feature-level fusion. Rather than introducing new architectural components, this study focuses on an evaluation protocol that tests whether the gain originates from frequency information. The protocol comprises a capacity-matched dual-spatial control, repetition over five random seeds, and bootstrap confidence intervals. Data-level image synthesis and algorithm-level Focal Loss are further compared for handling class imbalance. On the ripeness dataset, the fusion model achieved a slightly higher mean Macro-F1 (84.50%) than both the capacity-matched control and the single spatial branch. The same advantage was observed on a second mango dataset of surface defects. Data-level image synthesis improved Macro-F1 more than Focal Loss did, and the gains came mainly from backbones with weaker baselines. Because both datasets contain only mangoes, whether the framework generalizes to other fruits or domains remains to be tested.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Integrating Olfactory and Visual Features for Precise Classification of Four Postharvest Mango Ripening StagesNew Zealand Journal of Crop and Horticultural Science · 2026
- MS-SFNet: a tiny reproductive phenological stage detection model for strawberry inspection robotsFrontiers in Plant Science · 2026
- Real-time mulberry fruit ripeness recognition for selective harvesting using edge-deployable object detection: a single-orchard case studyFrontiers in Plant Science · 2026
- Deep learning-based estimation of Kent mango yield by commercial export category under real field conditions in northern Peru.Frontiers in plant science · 2026
- Visual apple maturity-stage detection in complex orchard environments via color–texture fusion and weakly supervised foreground modulationFrontiers in Plant Science · 2026
- Multistage AI Crop Inspection and Segmentation Framework (MACISF)bioRxiv · 2026