1. Introduction
Fruit is an important, highly perishable, and heterogeneous commodity in the global fresh-produce supply system. After being harvested, fruit continues to undergo metabolic activities such as respiration, transpiration, ripening and wilting. It is also affected by compression, impact, vibration and changes in temperature and humidity during sorting, packaging, transportation, storage and sales. These factors result in water loss, softening, mechanical damage and microbial deterioration, which decrease the marketable quantity and increase the waste of resources. Earlier research indicates that fruit and vegetable losses take place during the whole process of postharvest handling, distribution and consumption, and mechanical injury not only causes the immediate decline but also promotes the subsequent physiological deterioration and invasion by pathogens [
1,
2]. Therefore, it is necessary to carry out timely, objective and consistent sorting and grading according to measurable quality characteristics for the standardization of products, differentiated prices, suitable packaging and logistics, and reduction in supply chain losses.
The range of fruit grading has been extended from single aspects like diameter, weight and color to multi-dimensional quality features including surface flaws, maturity, soluble solids content (SSC), acidity, firmness, dry matter content, internal disorders and shelf life. Manual grading depends on visual and tactile judgment, but is influenced by the operator’s ability, fatigue, subjective standards and working conditions, which results in difficulty in making the same decisions during rapid operation. Although the mechanical systems based on the aperture size, roller spacing or weight can improve the production rate, they mainly sort the fruits according to a few physical parameters and cannot accurately detect hidden defects or the quality differences inside. Recently, systematic reviews show that research attention in fruit quality evaluation is focused on machine learning, deep learning and machine-vision systems, with the emphasis changing from the comparison of the classification accuracy offline to the detection of multiple attributes, real-time processing and adaptation to the industrial environment [
3,
4].
For external quality inspection, the machine-vision systems using RGB, multispectral and three-dimensional imaging can obtain information on fruit size, shape, color, texture and surface defects without any contact. The previous methods mainly depended on the threshold segmentation, color-space transformation and hand-crafted features and thus had poor robustness to background changes, variations in illumination, fruit orientation and defect size. Conversely, convolutional neural networks, object detectors and instance-segmentation models acquire hierarchical features from a large number of image data and enhance the recognition of various defects in different quality levels. Xu et al. installed an enhanced YOLOv5 model in an automatic apple-evaluating machine, connecting external-defect detection immediately to the actuator control [
5]; Ji et al. integrated multi-angle image analysis with deep learning to improve the coverage of apple surfaces, suggesting that full presentation of the surface and fusion of multi-view features are crucial for decreasing the number of missed detections [
6]. These advances have moved vision-based fruit inspection from single-view, single-feature decisions toward full-surface, multi-feature, and online grading.
External grades cannot fully characterize the eating quality or storage risk of fruit because visually sound fruit may still exhibit insufficient sweetness, reduced firmness, internal browning, insect infestation, or incipient decay. Nondestructive techniques, including visible–near-infrared spectroscopy, hyperspectral imaging, X-ray imaging, acoustic sensing, dielectric measurements, and electronic noses, have therefore been applied to evaluate chemical composition, tissue structure, maturity, and latent defects, increasingly in combination with chemometrics and intelligent algorithms [
7]. The online near-infrared grading device developed by Wang et al. for fresh jujube demonstrated that spectral prediction models can be embedded in continuous conveying and grade-diversion operations [
8]. Li et al. combined spectral-band selection with image processing to rapidly identify incipient decay in citrus fruit [
9]. In general, a single sensor captures only a limited aspect of quality; multimodal sensing and data fusion are therefore important for the integrated grading of external and internal attributes.
Modern fruit-grading equipment is no longer an isolated inspection module but an electromechanical information system comprising feeding and cleaning, fruit singulation, orientation control, stable image or spectral acquisition, intelligent classification, sorting actuation, and data management. Chakraborty et al. integrated cleaning, vision-based sorting, weight grading, a lightweight deep network, embedded computing, and actuators into real-time citrus-grading equipment, confirming the need to co-design sensing models and mechanical structures [
10]. In commercial fruit-handling operations, equipment performance depends not only on algorithmic accuracy but also on throughput, fruit rotation and occlusion, motion blur, illumination stability, sensor cost, sanitation and maintenance requirements, and control of mechanical damage. High accuracy under laboratory conditions therefore does not necessarily translate into stable grading performance on a production line.
Intelligent fruit grading still faces several common challenges. Biological variation associated with cultivar, production region, season, maturity, and storage conditions weakens model generalizability across batches. Visual similarity between defects and normal pigmentation, spatial heterogeneity in internal quality, and signal fluctuations during high-speed motion increase the risk of misclassification. Although multisensor systems provide complementary information, they also introduce difficulties in data synchronization, model complexity, equipment cost, and online computational demands [
4,
7]. Moreover, many studies continue to emphasize recognition performance on laboratory datasets while paying insufficient attention to commercial-grade definitions, reliable continuous operation, flexible low-damage handling, model calibration and maintenance, and life-cycle economics.
Based on the above situation, this paper investigates the fruit-grading standards, main nondestructive sensing techniques, intelligent classification procedures, grading devices and the system structure, as well as their applications to typical fruit types. Special emphasis is placed on the technical features and practical limits of machine vision, near-infrared spectrometry, hyperspectral imaging, other physical sensing means and the integration of multiple sensors in the online grading process. The interaction between the sensing models, transportation systems, orientation adjustments, control mechanisms and the operating devices for sorting is also examined, together with the issues concerning the extension of the models, light-weight installation, compliance with grading specifications, minimal damage during operation and data-driven management. Recent reviews have generally focused on a single sensing modality or algorithm family [
3,
4]. This review examines fruit grading across biological quality formation, sensor evidence, algorithm validation, and integration into grading equipment and commercial production lines. The assessment covers predictive accuracy and whether the complete system can maintain reliable grading across operating conditions while limiting fruit damage at an economically viable cost.
Review Methodology
This article uses a structured narrative-review design because the topic spans biological quality, sensing, algorithms, machinery and commercial deployment. The 123 references were identified through keyword searches in the Web of Science database. The coverage period was 1 January 2017 to 30 August 2026. Search terms combined (“postharvest” OR “post-harvest”) AND fruit AND (grading OR sorting OR “quality assessment”) with modality terms (machine vision, Vis/NIR, hyperspectral, X-ray, acoustic, electronic nose and sensor fusion) and equipment terms (conveyor, actuator, packing line, online and industrial).
Studies were retained when they addressed postharvest fruit quality or grading and reported a measurable sensing, algorithmic, mechanical, validation or deployment outcome. Preharvest-only studies, unrelated commodities and reports without direct engineering relevance were excluded; contextual engineering sources were retained only when their mechanisms informed sensing or handling design. Representative empirical studies selected for
Table 1 had to cover a distinct sensing modality, algorithm, equipment configuration or fruit-handling context, report at least one quantitative performance outcome and meet at least one prespecified scale or operational benchmark: at least 200 individual fruit or fruit clusters, at least 2000 labeled images or fruit instances, at least 4 fruit s − 1 or at least 25 frames s − 1. Studies below these thresholds remained eligible when they included independent validation across batches, cultivars, seasons or sites, or reported an online, pilot-line or commercial-line trial. These cutoffs were used as transparent selection benchmarks for this heterogeneous narrative review rather than as universal definitions of adequate study size or industrial throughput.
Evidence maturity was scored from 0 to 2 in six domains: sample scale, biological and environmental diversity, validation independence, operational setting, throughput, and reproducibility/reporting (
Supplementary Methods S1 and Table S1). NR received no credit, and borderline values were assigned conservatively to the lower category. Coding differences were resolved by source rechecking; unresolved cases received the lower score. Overall categories controlled synthesis weight and included validation and deployment gates, so sample scale or speed alone could not support transferability or commercial-readiness claims.
Table S2 reports item-level scores for
Table 1 studies, and
Table S3 maps evidence roles for all 123 references (
Supplementary Materials). Because the objective was integrative rather than meta-analytic, no pooled effect estimate was calculated.
A Web of Science “Analyze Results” export for the search phrase “postharvest fruit grading” identified 295 records published between 2012 and 2026. Annual publication counts varied through 2021, then rose each year from 26 in 2022 to 44 at the time of the 2026 export. The full dataset included records indexed under computer science, computer vision and graphics, deep learning for image recognition, artificial intelligence, automation and control systems, and robotics. These categories show that the field overlaps with several areas of information technology. However, because the export summarizes publication years and topics separately, it cannot link the annual increase to any specific technology. The 2026 count covers only part of the year (
Figure 1A).
2. Quality Criteria for Postharvest Fruit Grading
Postharvest fruit grading should consider commercial appearance, eating quality, safety, and suitability for distribution. External traits include size, mass, shape, color, surface cleanliness, and visible defects. Internal traits include soluble solids content (SSC), acidity, sugar-to-acid ratio, firmness, dry matter, moisture, and maturity. Safety and defect assessment cover internal browning, hollow tissues, chilling or freezing injury, insect damage, mold, and decay, while distribution suitability depends on storability, shelf life, maturity uniformity, and resistance to transport damage. Together, these factors determine commercial grade, eating value, and supply-chain allocation. Kyriacou and Rouphael described fresh fruit quality in terms of appearance, sensory, nutritional, functional, and safety attributes. Grading systems should therefore move beyond size or mass alone and assess quality across several dimensions [
22]. The measured phenotype is also conditioned by genotype, crop load, developmental stage and the preharvest environment; these factors can alter composition, firmness, maturity and storage potential before fruit reaches the grading line [
22]. A grading model should therefore be interpreted within the production contexts represented in its calibration and validation data.
External attributes are easy to observe, measure quickly, and incorporate into online systems, so they remain central to commercial grading. Weight sensors and two-dimensional or three-dimensional vision are commonly used to assess fruit diameter, shape, color, and surface defects. Internal attributes are more closely related to flavor, texture, and maturity, but conventional physicochemical tests are destructive and limited to sample inspection. Visible and near-infrared spectroscopy enables rapid, nondestructive estimation of soluble solids content (SSC), dry matter, firmness, and maturity. Walsh et al. reviewed point measurements using this technique for harvest timing and commercial assessment of internal fruit and vegetable quality, providing a basis for moving internal quality evaluation from laboratory sampling to online grading [
23]. External traits are therefore suited to rapid initial sorting, whereas internal traits support finer grading and pricing based on quality, particularly for valuable fruit.
Safety and defect indicators should be assessed first. Surface lesions, cracks, and advanced decay can usually be detected visually, but internal browning, watercore, cavities, latent decay, and early mechanical injury may show no external signs. Detecting these conditions requires spectroscopy, X-ray imaging, acoustic sensing, nuclear magnetic resonance, or multisensor fusion. Qiao et al. combined hyperspectral imaging with low-field nuclear magnetic resonance to identify decayed blueberries nondestructively. Their findings indicate that combining spatial, spectral, and tissue water information improves the reliability of latent defect classification [
24]. Such defects should not be treated as ordinary differences in grade. Fruit associated with decay, disease, or consumption risk should be rejected before the remaining fruit are assigned commercial grades.
Distribution suitability refers to the ability of fruit to retain quality during packaging, storage, transport, and sale. Its assessment considers maturity, firmness, shelf life, resistance to impact and vibration, and the risks of water loss and decay. Impact, compression, and vibration during transport can cause bruising and cracking, disrupt internal tissues, accelerate physiological deterioration, and promote microbial invasion. Al-Dairi et al. systematically examined these effects and emphasized that cushioning, loading configurations, and logistics conditions should match the fruit’s susceptibility to damage [
25]. A practical grading sequence is therefore to reject fruit with safety-related defects, sort the remaining fruit by external quality, refine the assessment using internal attributes, and allocate the resulting grades according to distribution performance. Distribution suitability should be expressed as an allocation decision—such as local sale, long-distance transport or extended storage—linked to predicted remaining shelf life, market destination and expected loss reduction rather than as a generic quality label. This framework provides a common basis for selecting sensing technologies, designing equipment, and making packaging, storage, and transportation decisions.
3. Key Technologies for Postharvest Fruit Grading
3.1. Machine Vision
Machine vision obtains information about the fruit diameter, shape, color, texture and surface defects from RGB, multiview or structured-light images. The main advantages are the high inspection speed, the low cost, the noncontact operation and the easy integration with the conveying and rejecting devices, which makes it suitable for high-speed external screening and online grading. The conventional thresholding, edge-based and texture-based algorithms are easily understandable and suitable for a single task under steady light and background. While Convolutional Neural Networks (CNNs), YOLO detectors and instance-segmentation models are more competent to deal with complicated defects, different fruit positions and small targets, they need representative annotated data sets and should eliminate the influences of specular reflection, occlusion, motion blur and cross-batch domain variation.
Ismail et al. developed a real-time vision system using EfficientNet and Raspberry Pi for fruit classification, such as apples and bananas. Test-set accuracies were 99.2% and 98.6%, respectively, whereas online accuracies for real samples were 96.7% and 93.8%, indicating that low-cost edge devices can support rapid external grading on standardized packaging lines [
26] (
Figure 2A). Chen et al. employed a lightweight YOLO-BFD model to classify bananas into four freshness grades, achieving a mean accuracy of 97.8% and detection speeds of 61 and 29 frames/s on the Jetson Orin NX and Jetson TX2, respectively. The system is therefore suitable for portable real-time inspection in retail, storage, or small-scale sorting environments [
27].
Further studies show that conventional RGB and multiview imaging have expanded from color and surface-defect assessment to fruit-shape symmetry, cluster compactness, quantitative maturity assessment, and cultivar identification [
32,
33,
34,
35,
36,
37]. Enhanced imaging based on structured-light reflectance can further reveal incipient decay and shallow latent defects that are difficult to visualize using conventional RGB imaging [
38,
39]. Recent reviews indicate that the principal challenge in online machine-vision grading has shifted from maximizing accuracy on a single dataset to balancing consistency with grading standards, cross-cultivar transferability, computational requirements, and production-line throughput [
40]. Training and external-test data should therefore span peel morphology, natural pigmentation, defect prevalence, background, illumination, fruit orientation and conveyor speed. A model should not be described as transferable until it has been tested on an unseen cultivar, site, season or production batch. Studies should report not only accuracy, precision, recall, and mean average precision (mAP), but also independent-batch performance, processing time per fruit, model size, and misclassification categories. Production-line applicability should be further improved through multi-view coverage, illumination correction, and lightweight deployment (
Table 2).
3.2. Near-Infrared Spectroscopy
Visible–near-infrared (Vis/NIR) spectroscopy estimates soluble solids content (SSC), dry matter content, firmness, and maturity from the absorption and scattering responses of functional groups such as O–H and C–H. The technique is nondestructive, enables rapid single-sample measurements, and can be implemented in either handheld instruments or online grading systems, making it particularly suitable for internal-quality classification of high-value fruit. Its principal limitations are that measurements generally represent localized point information and that model performance is readily affected by cultivar, origin, season, temperature, peel characteristics, and measurement position.
Minas et al. used a single near-infrared scan to predict the internal quality of peaches. The dry matter and SSC models achieved R
2 values of 0.98 and 0.96 and RMSEP values of 0.41% and 0.58%, respectively, supporting the application of this technique to the postharvest selection of premium fruit and maturity management [
44]. Fan et al. developed a portable 400–1000 nm device for apples and predicted SSC using dynamic correction with white-reference, dark-reference, and sample spectra. Independent laboratory validation yielded an R
2 of 0.764 and an RMSEP of 0.672%; after recalibration using field data, the corresponding values were 0.690 and 0.604%, respectively. These results also demonstrate that portable instruments require environment- and batch-specific calibration for use under field conditions [
11].
The engineering reliability of Vis/NIR models depends primarily on adequate coverage of sample variability and rigorous control of measurement conditions. Studies involving general models for apples from different production regions, dynamic quality monitoring under different storage temperatures, and simultaneous detection of watercore and SSC indicate that calibration sets should represent variation in origin, temperature, storage stage, and internal-defect status. Model stability should be maintained through independent validation across multiple batches, temperature compensation, instrument-to-instrument calibration transfer and versioned model updating [
28,
45,
46] (
Figure 2B). Routine commercial use also requires reference-standard checks, optical-window cleaning and drift monitoring. Vis/NIR spectroscopy is therefore suitable for refined internal-quality grading, but evidence beyond a high R
2 from a single randomly partitioned dataset is needed to establish online applicability (
Table 2).
3.3. Hyperspectral Imaging
Hyperspectral imaging records a continuous spectrum at each pixel, combining spatial localization with compositional response. It can reveal early bruising, decay, and disease that are difficult to discern in RGB images and can map the spatial distribution of defects or quality attributes. This information density makes the technique suitable for latent-defect screening of premium fruit, offline precision inspection, and the identification of informative wavelengths; however, equipment cost, calibration requirements, and data dimensionality are relatively high. For engineering deployment, a small number of characteristic wavelengths are typically selected and transferred to multispectral cameras and lightweight models to balance inspection speed and cost.
Tian et al. acquired visible–near-infrared hyperspectral images of apples at 6, 12, and 24 h after impact. Following two-band ratio processing and improved watershed segmentation, recognition rates for sound fruit, bruised fruit, and all samples were 93.3%, 92.2%, and 92.5%, respectively. The study further reduced the feature set to two bands, supporting subsequent online multispectral implementation [
29] (
Figure 2C). Chun et al. combined hyperspectral fluorescence imaging with a ResNet-50-based one-dimensional convolutional neural network (1D-CNN) to distinguish healthy, asymptomatic, infected, and post-infection strawberries. The model achieved an accuracy of 96.86%, with precision, recall, and F1-score values of approximately 96.9%, demonstrating its suitability for the early warning of gray mold during packaging and distribution [
47].
Further studies indicate that quality-related deep-feature learning, compensation for fruit-scale variation, and reconstruction using selected wavelengths can improve the representation of internal quality and weakly visible defects in hyperspectral data while facilitating the transition from full-spectrum experimental systems to few-band detection devices [
48,
49,
50]. Hyperspectral models should therefore be evaluated not only in terms of classification accuracy or regression error but also for their stability across cultivars, batches, and imaging conditions. The number of selected wavelengths, processing time per fruit, calibration and maintenance burden, hardware cost and expected value recovery should be assessed concurrently. In most current settings, full hyperspectral imaging is more defensible for high-value fruit, offline audits or wavelength discovery than as an unqualified replacement for RGB or Vis/NIR sensing on a main commercial line (
Table 2).
3.4. X-Ray, Acoustic, Mechanical, and Electronic-Nose Techniques
X-ray imaging exploits differences in tissue density and is suitable for identifying externally invisible defects such as internal browning, cavities, and insect infestation. Acoustic and mechanical methods evaluate firmness, crispness, and maturity from tapping, vibration, compression, or puncture responses and generally require relatively simple hardware. Electronic noses monitor volatile organic compound fingerprints associated with maturity, injury, and decay and are more appropriate for storage-related early warning. These three categories serve distinct applications: X-ray imaging supports high-value internal inspection or quarantine; acoustic and mechanical sensing is suitable for texture grading; and electronic noses are appropriate for batch- or storage-area monitoring. Their shared constraints include equipment safety and cost, excitation consistency, environmental noise, and sensor drift.
Tempelaere et al. trained BraeNet using X-ray computed tomography (CT) and single two-dimensional radiographs to identify internal browning in ‘Braeburn’ apples induced by low-oxygen or high-CO
2 storage. Both the two- and three-dimensional models achieved accuracies of 96% ± 1%, indicating that faster and less expensive two-dimensional imaging may replace full CT for this task [
41]. Zhang et al. obtained kiwifruit vibration responses using a 6 cm free-fall impact and employed a PCA-BPNN model to classify fruit into three maturity stages: unripe, ripe, and overripe. Calibration- and validation-set accuracies were 94.2% and 92.1%, respectively. These results indicate that noncontact impact testing is suitable for maturity grading; however, the correlations of the measurements with SSC and acidity were weaker than those with firmness and sensory attributes, indicating that the intended assessment target should be clearly defined [
42].
Further studies indicate that combining X-ray CT with impact testing and image processing can advance internal-damage assessment from qualitative identification to the quantitative measurement of bruise volume and susceptibility to bruising. Electronic noses combined with pattern recognition or chemometrics can discriminate spoilage fungi and provide continuous early warning in storage environments [
30,
51,
52] (
Figure 2D). X-ray imaging is therefore best suited to high-value precision inspection of individual fruit, acoustic and mechanical sensing to rapid texture grading on conveying lines, and electronic noses to batch- or storage-area trend monitoring. Engineering applications must also control radiation exposure, excitation repeatability, temperature and humidity, and sensor drift. High accuracy under laboratory conditions should not be regarded as a substitute for validation in actual production environments (
Table 2).
3.5. Multisensor Fusion
Multisensor fusion combines visual, spectral, acoustic, mechanical, or olfactory information at the data, feature, or decision level, enabling the simultaneous assessment of appearance, internal composition, and tissue status. It is therefore a key route from single-attribute detection to comprehensive quality grading. Data-level fusion retains the greatest amount of information but produces high-dimensional inputs; feature-level fusion balances predictive performance and computational demand; and decision-level fusion facilitates modular maintenance. The approach is most suitable for high-value fruit, multi-attribute pricing, and shelf-life prediction but requires solutions for synchronized acquisition, spatial registration, differences in measurement scales, missing data, and increased system cost.
Chen et al. fused acoustic-image features with visible–near-infrared spectra and employed SwinT-PLS to predict the firmness of yellow-fleshed peaches. The prediction set yielded R
2 = 0.951, RMSEP = 0.443 N/mm, and RPD = 4.339, substantially outperforming the individual acoustic and spectral models and demonstrating suitability for commercial grading in which both processing speed and internal texture are important [
43]. Fathizadeh et al. used the dominant acoustic frequency, dominant vibration frequency, and mass of apples as inputs to an artificial neural network and subsequently performed decision fusion. Feature-level fusion increased classification accuracy by an average of 10.84% and 10.14% for the two sample groups, whereas Dempster–Shafer decision fusion yielded maximum improvements of 19.8% and 12.5%, respectively. These findings indicate the value of complementary signals for shelf-life grading, although the benefits of fusion require confirmation across independent batches and under online operating conditions [
53].
Recent studies show that multisource fusion has progressed from offline feature concatenation to the joint sensing of temperature, humidity, vibration, gases, and other environmental variables, together with cloud–edge collaborative inference. Comparisons of different optical representations acquired during the same measurement also indicate that additional modalities or features do not necessarily improve accuracy [
31,
54,
55] (
Figure 2E). Engineering systems should therefore quantify fusion gains against single-sensor baselines through ablation experiments and independent-batch validation. Synchronization error, robustness to missing modalities, inference time, and unit cost and maintenance burden should be reported concurrently to avoid systems in which additional sensors increase complexity without delivering commensurate benefits (
Table 2). Across modalities, commercialization favors a tiered architecture: low-cost RGB for universal screening; Vis/NIR or reduced-band imaging for internal-quality or ambiguous cases; and X-ray, full hyperspectral imaging or multisensor fusion only when recovered product value justifies the added capital, calibration, computation and maintenance.
6. Applications to Representative Fruit Categories
The following subsections group case studies by commodity and handling context, not by a single botanical classification. To support transferability, external validation must include variation in cultivar, season, origin, maturity, and storage history. Internal random splits are useful for model development but do not demonstrate generalizability under commercial conditions (
Table 1).
6.1. Pome Fruits
Pome fruits, represented by apples and pears, must be graded according to both external conformity and consistent internal eating quality. Fruit diameter, shape, coloration ratio, and surface defects remain the basis of commercial grading, whereas soluble solids content (SSC), firmness, watercore, moldy core, and storage-related internal browning determine quality-based pricing and suitability for storage and transportation. The relatively large size of individual fruit facilitates continuous conveying in fruit cups or on double-cone rollers and enables rotational imaging. Nevertheless, interference from calyx and stem tissues, surface occlusion, asymmetric pear morphology, and spectral drift across cultivars and production seasons continue to reduce grading stability. Research on pome-fruit grading has therefore progressed from single size- or color-based decisions toward the coordinated application of multiview external inspection and spectroscopic internal-quality assessment [
5,
6,
11,
12].
The engineering development of external apple grading is relatively advanced, and research has shifted from static single-fruit recognition toward parallel processing of multiple fruits, full-surface imaging, and closed-loop detection and actuation. Xu et al. incorporated an improved YOLOv5 model into a grading machine comprising elevator feeding, double-cone rollers for fruit rotation and conveying, and cup-based actuators, thereby classifying apples into three grades. The mean test-set grading accuracy was 90.6%, and the processing speed was 59.63 frames/s; in complete-machine experiments, the grading accuracy reached 93% at a throughput of 4 fruits/s [
5]. Ji et al. further distinguished stems and calyx regions from true defects in multiview images of rolling apples and enhanced the multi-feature discrimination capability of YOLOv5s using a Swin Transformer. The model achieved an accuracy of 94.46% at 32 frames/s. In a complete-machine experiment involving 300 apples per grade and 900 apples in total, the mean grading accuracy was 94% at a throughput of 4 fruits/s. When the conveying speed was increased by 25%, motion blur reduced accuracy by 4.4 percentage points, indicating that production-line operation requires a balance among surface coverage, exposure time, and throughput [
6] (
Figure 4A,B). For applications in which defect area contributes to grade assignment, Liang et al. combined BiSeNet V2 semantic segmentation with a pruned YOLOv4 model. The mean pixel accuracy for defect segmentation reached 99.66%, while the online grading accuracy and F1-score for defective apples were 92.42% and 94.31%, respectively [
12]. These results show that the main problem in external apple grading is not only to enhance the accuracy of single images but also to guarantee coverage of the fruit surface, identification tracking and consistent actuation time during continuous rotation.
Internal apple quality grading mainly focuses on sweetness, firmness and hidden defects and can use Vis/NIR reflectance or transmittance spectroscopy to give information not observed by machine vision. Fan et al. used a portable Vis/NIR device and a PLS model to predict apple SSC. The prediction-set R
2, RMSEP, and RPD were 0.777, 0.561 °Brix, and 2.114, respectively. Independent laboratory validation yielded an R
2 of 0.764 and an RMSEP of 0.672 °Brix, whereas recalibration using field data resulted in a field-prediction R
2 of 0.690 and an RMSEP of 0.604 °Brix [
11]. Guo et al. developed a portable transmittance system and constructed a CARS-CNN model that predicted SSC, firmness, pH, and watercore severity with correlation coefficients of 0.951, 0.824, 0.828, and 0.943, representing improvements of 3.0%, 11.2%, 11.2%, and 9.3%, respectively, over the corresponding full-spectrum models [
99]. To detect externally invisible moldy core, Jiang et al. acquired dynamic online transmittance spectra from 340 ‘Red Fuji’ apples. A binary MC-UVE-SPA-LDA-KNN model achieved an area under the receiver operating characteristic curve (AUC) of 0.99 and an accuracy of 98.82%; three-class discrimination among healthy, mildly affected, and severely affected apples also yielded an AUC of 0.99 and an accuracy of 97.64% [
16] (
Figure 4C,D). Transmittance spectroscopy is therefore better suited to rejecting fruit with internal defects, whereas reflectance spectroscopy and portable devices facilitate sampled SSC measurements. Transfer to high-speed grading lines still requires control of model shifts caused by fruit diameter, temperature, and measurement position.
External pear grading differs from apple grading primarily because pears are asymmetric and exhibit conspicuous lenticels and russeting patterns. Consequently, single-view contours or color thresholds may misclassify natural surface textures as defects. Yang et al. decomposed pear appearance quality into three indices: fruit shape, surface color, and defects. Backpropagation neural networks or support vector machines were trained using symmetry and quasi-rectangularity descriptors, R/G-channel statistics, and gray-level co-occurrence matrix features extracted from defect regions. Classification accuracies for shape, color, and defects were 83.3%, 91.0%, and 76.6%, respectively, while rule-based integrated grading achieved an accuracy of 80.5% [
100] (
Figure 5A–D). The study also incorporated conveying, position sensing, image inspection, and push–pull solenoid sorting units but could not acquire images of the complete pear surface. These results indicate that multi-index grading rules can improve the interpretability of grade assignments but are susceptible to the accumulation of errors across cascaded classifiers. This approach is suitable for small- and medium-scale grading lines handling a single cultivar under stable standards, whereas high-throughput applications require multiview image fusion and end-to-end joint classification.
Internal pear-quality assessment must also address inconsistent spectral sampling positions caused by asymmetric fruit morphology, together with differences in peel color and stone-cell content among cultivars. Xu and Mishra employed deep transfer learning to locate a symmetric region on the ventral surface of pears, extracted spectra near its centroid, and predicted dry matter content using PLS. The ventral region was detected in all 111 hyperspectral images, with an intersection over union (IoU) of 0.82, and an 11 × 11-pixel sampling window yielded a dry matter RMSEP of 0.77% [
101]. Zhang et al. acquired 398–1004 nm hyperspectral data from 1200 samples representing six pear cultivars, applied first-derivative and standard normal variate (FD-SNV) preprocessing, selected characteristic wavelengths using CARS, and developed LS-SVM models. The SSC model for ‘Huangguan’ pears achieved an RPD of 5.4, the multicultivar firmness model achieved an RPD of 3.4, and BPNN classification accuracies for all six cultivars exceeded 99% in both the calibration and prediction sets [
102]. In an earlier study, Goke et al. used a commercial NIR instrument to predict dry matter content and SSC in ‘d’Anjou’ and ‘Bartlett’ pears. Cultivar-specific calibration R
2 values were 0.940 and 0.860 for dry matter content and 0.908 and 0.839 for SSC, respectively; under independent validation, R
2 values ranged from 0.722 to 0.901 for dry matter content and from 0.651 to 0.844 for SSC [
103]. Collectively, these studies indicate that internal-quality grading of pears depends not only on the algorithm but also on the sampling region, cultivar coverage, and the inclusion of maturity and storage-related variation in the calibration set.
For commercial deployment, apples favor rotational RGB inspection with a targeted transmittance channel for internal-defect rejection, whereas pears require morphology-aware view selection before external and internal measurements are fused. Claims of transferability should rely on independent cultivar, season, site and line tests and should report throughput, missed detections, fruit damage and long-term stability.
6.2. Stone Fruits
Stone fruits, represented by peaches, plums, and apricots, ripen rapidly, soften markedly, and develop bruises that readily propagate from the skin into subsurface tissues. Fruit diameter, ground color, and coloration can be measured rapidly by machine vision, but external ripeness does not necessarily correspond to appropriate levels of soluble solids content (SSC), dry matter content, acidity, and firmness. Sutures, pubescence, surface bloom, and natural spots also interfere with defect recognition. Moreover, newly formed minor bruises are often visually imperceptible and may subsequently develop into browning and decay as the fruit continues to soften after grading. Applications to stone fruits should therefore integrate external appearance and maturity grading, prediction of internal eating quality, rejection of early mechanical injury, and low-contact conveying, with target attributes selected according to the skin characteristics and intended markets of peaches, plums, and apricots [
17,
18,
104,
105,
106,
107].
Internal-quality grading of peaches must first determine whether the fruit is suitable for harvest, transportation, or immediate consumption. Portable Vis/NIR instruments are appropriate for rapid pregrading at harvest and at the entrance to packing lines. Minas et al. expanded the quality range of the calibration samples through a crop-load × fruit-development-stage experiment and used a single 729–935 nm handheld Vis/NIR scan to predict dry matter content, SSC, and the index of absorbance difference. The prediction models achieved R
2 values of 0.98, 0.96, and 0.96 and RMSEP values of 0.41%, 0.58%, and 0.08, respectively [
44]. Field validation further showed that a higher crop load reduced dry matter content and SSC and delayed maturity, indicating that spectral grading can support both harvest-batch allocation and sorting according to flavor potential and transportation distance. Masuda et al. trained a CNN using 1521 RGB images of ‘Hakuho’ peaches to simultaneously diagnose seven traits: skin color, firmness, sugar content, colorless early softening, split pit, watercore, and peach fruit moth injury. Correlation coefficients were −0.55 between skin color and colorless early softening and 0.38 between watercore and sugar content, and explainable artificial intelligence was used to localize the image regions contributing to model decisions [
104]. Online deployment nevertheless requires cultivar, canopy position, production season, and fruit temperature to be represented in the calibration set; a high goodness of fit under conditions from a single orchard should not be interpreted as general grading capability.
Another important application in peaches is the rejection of early minor bruises caused during sorting, handling, and transportation. For this task, sensing depth and robustness to nonuniform illumination are more important than conventional RGB surface recognition. Wu et al. conducted controlled impact experiments on 300 yellow peaches and acquired multispectral structured-illumination reflectance images at 700 nm and a spatial frequency of 0.10 cycles/mm. Ratio images derived from the alternating-current and direct-current components enhanced subsurface bruises, and an improved Otsu algorithm achieved an overall detection accuracy of 96% across all samples [
17] (
Figure 6A–D). The method highlighted bruised regions that were not yet visually apparent, although lenticels, stems, and sutures still caused segmentation errors, and the current device relied primarily on static acquisition. Structured-light imaging is therefore appropriate for secondary inspection of latent injury in high-value peaches. Integration into a continuous grading line will require reduced-phase demodulation, synchronized high-speed projection, and low-vibration fruit supports to shorten the acquisition time per fruit.
Plum maturity grading commonly relies on changes in peel color from green to yellow-red or purple-red. However, overall coloration, surface bloom, and cultivar differences reduce the stability of a single color threshold. Kaur et al. acquired 140 images of ‘Satluj Purple’ plums and assigned the samples to four stages: mature green, color break, fully colored, and overripe. For each stage, 25 images were used for calibration and 10 for validation. Errors between the image-derived and manually measured major and minor axes were below 2.4%. Fruit acidity showed an R
2 of 0.9966 with mean green-channel intensity, while SSC showed an R
2 of 0.8464 with the R/G ratio [
105]. However, 20% of the validation samples were misclassified when texture features alone were used, indicating that color is suitable for low-cost preliminary maturity screening, whereas texture should remain supplementary rather than serve as the sole grading variable.
When external plum coloration and internal ripeness are asynchronous, fusion of RGB images and visible–near-infrared spectra provides a more comprehensive basis for commercial grade determination. Liu et al. investigated 780 samples of ‘March’ and ‘Sanhua’ plums, extracting RGB appearance features with VGG16 and processing 350–1700 nm spectra with a one-dimensional CNN before fusing the two representations through a fully connected network. On the test set, the image and spectral models achieved accuracies of 85.71% and 83.33%, respectively, whereas the fusion model achieved 100% accuracy, precision, and recall [
106] (
Figure 7A–D). In an adversarial experiment in which 33% of the training labels were randomly flipped, the fusion model retained a test accuracy of 79.06%, indicating a degree of robustness to label noise. Nevertheless, the 100% result was obtained from an internal split of a single dataset and requires verification across orchards, production seasons, storage stages, and independent production lines. Engineering implementation must also ensure same-fruit registration between images and spectra and synchronize the operating rates of the two sensors.
Apricots are graded for fresh consumption and for processing into dried products, preserves, and juice; consequently, soluble solids content (SSC), dry matter content, and titratable acidity determine product allocation more directly than fruit diameter alone. Amoriello et al. developed multicultivar, cross-year models using samples from 17 apricot cultivars and two production seasons. The dataset comprised 204 fruits and 408 Vis/NIR spectra acquired from opposite sides, while four additional cultivars were used for external validation. A portable spectrometer combined with an ANN-MLP model predicted SSC, dry matter content, and titratable acidity with test-set R
2 values of 0.855, 0.857, and 0.681, respectively; the corresponding 400–1000 nm hyperspectral imaging models improved these values to 0.904, 0.918, and 0.811 [
18] (
Figure 8A–C). Liu et al. further combined spectra acquired from opposing views with ensemble learning to predict the internal quality of peaches, apricots, and cherries. For apricots, the MLP-SG-XGBoost model achieved an R
2 of 0.9251 for SSC, while the LGR-SG-LightGBM model achieved an R
2 of 0.9206 for titratable acidity [
107]. These findings indicate that internal-quality grading of apricots is well suited to multi-attribute spectroscopic assessment. Portable instruments are less expensive and appropriate for sampling-based inspection and raw-material reception, whereas hyperspectral imaging provides more comprehensive information for refined allocation of high-value fruit but requires characteristic-wavelength selection to reduce the cost and data-processing burden of online systems.
Commercial stone-fruit systems should combine maturity-based allocation with latent-bruising rejection on compliant, low-drop conveyors. Evidence should be judged by external validation, inspection time, throughput and post-grading damage rather than only by R2 or accuracy.
6.3. Citrus Fruits
Citrus fruits include sweet oranges, mandarins, pomelos, and grapefruits, although research on intelligent postharvest grading has focused primarily on oranges and mandarins. Oranges are relatively large and have tightly adhering peels, making them suitable for continuous rotation on roller conveyors and multiview external inspection. Mandarins have loose, easy-peeling rinds and require assessment not only of color and surface defects but also of soluble solids content (SSC), peel puffing, and fruit-fly infestation. Although the thick citrus peel improves resistance to transportation damage, it attenuates visible–near-infrared penetration into the flesh, potentially creating discordance between external coloration and internal flavor or between visually normal surfaces and incipient decay. Representative applications have therefore progressed from diameter- and color-based sorting toward a hierarchical strategy comprising online screening for visible defects, spectroscopic verification of internal quality, and rejection of latent diseases and insect damage [
14,
19,
108,
109,
110,
111,
112,
113].
High-speed commercial grading of oranges first requires stable detection of mechanical injury and disease lesions under fruit rolling, mutual occlusion, and conveyor vibration. RGB vision offers low cost, high speed, and straightforward integration into existing production lines. Chen et al. acquired 40 videos at 30 Hz from 300 oranges and constructed a dataset of 2400 images. A Mobile-Citrus detector combining MobileNet-V2 and PANet was paired with a SORT tracker to aggregate classifications of the same fruit across consecutive frames, enabling online discrimination among sound fruit, mechanically damaged fruit, and fruit with peel lesions. The overall detection-and-tracking accuracy reached 93.66% [
14]. With 8–20 fruit per frame, the mean processing time was 23 ms, equivalent to 43 frames/s. Misclassification rates for sound and defective fruit were 2.53% and 3.76%, respectively, while the corresponding missed-detection rates were 3.68% and 2.83%. The method is suitable for high-speed preliminary screening of visible defects in packing houses. However, robotic rejection remained at the conceptual design stage, and fruit near the conveyor edges might not present their complete surfaces. Practical systems therefore require multiple cameras or controlled fruit-rotation mechanisms to eliminate blind areas.
When peel coloration resembles incipient green mold, citrus canker, or mild decay, conventional RGB imaging provides insufficient contrast, making hyperspectral and structured-light imaging more suitable for secondary inspection of latent defects. Li et al. acquired 975.18–2196.2 nm hyperspectral images from 30 sound navel oranges, 30 fruit with canker, and 30 fruit infected with green mold. An LSTM model distinguished sound peel, canker lesions, green-mold spores, and hyphal regions. The full-spectrum model using all 217 bands achieved a test accuracy of 92.81%, with a testing time of 46.21 s per fruit. Selecting 21 wavelengths using independent component analysis (ICA) increased accuracy to 95.01% and reduced the testing time to 3.71 s. Further compression to six wavelengths using ICA-GA retained an accuracy of 93.41% while reducing the testing time to 1.26 s [
108]. Cai et al. acquired three phase-shifted structured-light images at a spatial frequency of 0.25 cycles/mm and recovered direct-component (DC), alternating-component (AC), and ratio (RT) images using a two-phase spiral phase transform. An LS-SVM model constructed from seven texture features extracted from the RT images achieved a mean classification accuracy of 95.1% for oranges with incipient decay [
109] (
Figure 9A–D). Collectively, these studies indicate that informative-wavelength selection and rapid demodulation are critical for converting high-dimensional laboratory imaging into online secondary-inspection units. Nevertheless, 1.26 s per fruit remains too slow for high-throughput main lines. A more practical strategy is to use hyperspectral imaging to identify a small number of sensitive wavelengths and subsequently develop multispectral or reduced-phase structured-light devices.
Mandarin cultivars vary substantially in peel color, oil-gland characteristics, and surface brightness. External-defect detection must therefore accommodate locally low-contrast regions, while eating-quality grading should avoid equating good coloration directly with high sugar content. Li P. et al. proposed a sliding-window segmentation method that required no brightness correction for 100 real-world images of ‘Wokan’ mandarins. With a 100 × 100-pixel window, surface-defect detection required 85.3 ms per fruit and achieved a recognition rate of 97.5%. Reducing the window size to 20 × 20 pixels increased the recognition rate to 98.9% but also increased the computational demand [
111]. For coordinated grading of external and internal quality, Zhang et al. acquired 380–1030 nm hyperspectral data from 550 ‘Nanfeng’ mandarins representing five categories: anthracnose, black spot, decay, scarring, and sound fruit. A CARS-CNN model achieved an overall defect-classification accuracy of 97.27%, while an SSC-CNN model developed using 150 sound fruits yielded R
2 = 0.9290, RMSEP = 0.3772 °Brix, and RPD = 3.7655 [
110]. Kim et al. further acquired 648 sets of 400–1000 nm hyperspectral data from the stem and calyx ends of 324 Satsuma mandarins. After outlier removal, CARS-PLSR selected 51 effective wavelengths for SSC prediction and achieved R
2 = 0.75 and RMSEP = 0.559 °Brix on an independent prediction set [
113]. These findings support the use of RGB imaging for low-cost preliminary defect screening followed by sugar-content estimation at selected wavelengths. However, the substantial variation in model performance among studies indicates that cross-cultivar calibration and compensation for peel thickness remain major constraints on internal-quality grading.
Mandarins are also affected by peel puffing and fruit-fly infestation, which can produce externally normal but internally abnormal fruit. If grading is based solely on color and diameter, affected fruit may enter fresh-market lots and deteriorate rapidly during distribution. Sun et al. compared healthy and peel-puffed ‘Iwasaki’ Satsuma mandarins harvested at three dates and characterized their peel structure using X-ray CT and laser-scattering imaging. Peel puffing reduced the thicknesses of both the flavedo and albedo and increased albedo porosity. The reduced scattering coefficient of intact peel-puffed fruit was lower than that of healthy fruit, and this optical difference was validated using an independent ‘Goku Wase’ cultivar, enabling separation of healthy and peel-puffed fruit at all selected wavelengths [
112]. Li D. et al. investigated 252 ‘Shimen’ citrus fruits, including 126 artificially infested with fruit flies, using a 350–1100 nm transmittance system comprising four optical paths separated by 90°. Spectra averaged across the four paths yielded overall accuracies of 92.9%, 89.3%, and 90.5% for fruit positioned stem-up, horizontally, and stem-down, respectively. The optimal model achieved a kappa coefficient of 0.89 and accuracies of 95.2%, 80.1%, and 100.0% for uninfested, mildly infested, and severely infested fruit, respectively [
19] (
Figure 10A–D). The markedly lower accuracy for mild infestation indicates that the principal challenge in grading internal diseases and insect damage is not recognizing fruit that has already decayed but obtaining sufficiently stable transmission signals before symptoms develop. Multiple optical paths reduce variability associated with the random location of infestation but increase the complexity of the optical structure, same-fruit registration, and throughput control.
Citrus systems are best organized as fast RGB screening followed by selected-band or multipath inspection of ambiguous or internal defects. Commercial evidence should include mild-defect recall, full-surface coverage, throughput, cross-cultivar validation and long-term calibration drift.
6.4. Kiwifruit and Mango
For climacteric fruits, commercial grade is not a static label fixed at harvest but is jointly determined by current maturity, postharvest ripening rate, and the target marketing window. Kiwifruit and mangoes are representative examples. Kiwifruit softens rapidly after harvest and has a narrow firmness window for consumption; fruit from the same batch may therefore diverge substantially in firmness and sugar content during storage. Mango peel color is strongly cultivar-dependent, and green fruit may already be physiologically mature, while maturity at harvest determines sweetness, aroma, and shelf life after ripening. Grading of climacteric fruit should consequently progress from external conformity alone toward a sequential framework comprising harvest-maturity identification, storage-stage classification, and allocation according to the eating-ripe window and remaining shelf life. Inspection results should also be linked to ripening treatments, cold storage, transportation distance, and intended sales timing [
114,
115,
116,
117,
118,
119].
Kiwifruit grading must simultaneously characterize flesh firmness, soluble solids content (SSC), and storage stage because external color alone cannot reliably distinguish firm, ready-to-eat, and overripe fruit. Lee et al. defined five postharvest ripening stages for kiwifruit stored at low temperature for 0–120 d and developed regression and classification models using visible–near-infrared hyperspectral imaging. An SVMR model with second-derivative preprocessing predicted flesh firmness with R
2p = 0.878, RMSEP = 3.008 N, and RPD = 2.721, while an MSC-SVMR model predicted SSC with R
2p = 0.940, RMSEP = 0.898 °Brix, and RPD = 4.055. The highest stage-classification accuracies achieved by PLS-DA and SVMC were 91.463% and 91.548%, respectively [
114] (
Figure 11A–E). These results indicate that hyperspectral imaging can jointly map firmness and SSC to shipping stages, although adjacent ripening grades remain difficult to distinguish. Engineering deployment should prioritize the selection of a small number of sensitive wavelengths and verification of measurement repeatability under high-speed conveying conditions.
For ready-to-eat supply chains, kiwifruit grading must extend beyond measuring current firmness to predicting the remaining eating-ripe period. Ding et al. collected Fourier-transform near-infrared spectra from 413 kiwifruit within the critical firmness range of 10–40 N. Following first-derivative preprocessing, competitive adaptive reweighted sampling, and support vector regression optimization, the FD-CARS-SVR radial-basis-function model achieved a prediction-set R
2 of 0.92, an RMSEP of 0.40, and an RPD of 3.48, substantially outperforming the full-spectrum radial-basis-function model [
116]. Zhang et al. monitored mass loss, firmness, SSC, ascorbic acid, titratable acidity, color difference, and sensory scores at 0, 5, 10, 15, and 20 °C. Zero-order reaction models achieved R
2 values of 0.892–0.985, Ball temperature models achieved R
2 values of 0.947–0.991, and the combined models limited prediction errors for quality attributes to within 6.5% [
115]. The former approach supports online identification of ready-to-eat firmness, whereas the latter estimates remaining shelf life as a function of storage temperature. Their combination could enable kiwifruit to be allocated to long-distance transportation, short-term ripening, or immediate ready-to-eat sale.
The principal challenge in grading mangoes by harvest maturity is that peel color and internal dry matter accumulation are asynchronous. This problem is particularly pronounced in cultivars that remain green at maturity, for which color- or firmness-based sorting may result in premature harvesting. Shah et al. collected 240 hard-green mangoes over two consecutive harvest seasons, encompassing two cultivars and three harvest stages, and used a handheld 400–1100 nm near-infrared microspectrometer to directly classify the fruit as mature or immature. An indirect approach that first predicted dry matter content and then applied a threshold achieved a maximum accuracy of 55.9%, whereas direct KNN classification reached 88.2% [
117]. On-site grading should therefore directly learn the decision boundary between fruit that can and cannot ripen normally. However, dry matter thresholds depend on cultivar and production region, necessitating external validation across seasons and orchards.
During ripening and distribution, the grading target for mangoes shifts from harvest maturity alone to integrated quality determined by firmness, sugar content, flesh color, and volatile compounds. O’Brien et al. compared visible–near-infrared spectroscopy (Vis/NIR spectroscopy) with laser Doppler vibrometry for ‘Kent’ and ‘Keitt’ mangoes. A Vis/NIR spectroscopy-PLSR model predicted the internal quality index of ‘Kent’ mangoes with R
2p = 0.729 and RMSEP = 0.532, whereas laser Doppler vibrometry yielded R
2 < 0.5 for firmness prediction in both cultivars. These findings indicate that a linear decrease in resonance frequency does not adequately represent the exponential softening of mango flesh [
118] (
Figure 12A–D). Huang et al. fused machine vision with a colorimetric sensor array to classify mangoes stored at 12 ± 0.5 °C and 85–90% relative humidity into three stages: mature green, fully ripe, and overripe. The fused SVC model achieved training- and prediction-set accuracies of 98.75% and 97.5%, respectively. For the fused SVR model, the training/prediction correlation coefficients were 0.9051/0.8897 for firmness and 0.9515/0.9241 for soluble solids content [
119]. Multimodal fusion is suitable for storage-room monitoring or prepacking verification, but colorimetric sensor arrays require reaction time and consumables. High-speed main lines are therefore better served by Vis/NIR spectroscopy as the primary modality, with visual and olfactory information reserved for ambiguous samples.
Kiwifruit and mango grading should link maturity and quality measurements to a stated logistics window while recording cultivar, batch, temperature and inspection time. General claims require independent season and site validation and demonstrated gains in shelf-life allocation or loss reduction.
6.5. Sweet Cherries, Blueberries, and Table Grapes
Small fruits generally share several characteristics, including small individual size, high batch volumes, thin skins, and high sensitivity to impact. However, the grading unit and priority attributes differ among sweet cherries, blueberries, and table grapes. Sweet cherries are typically evaluated individually for cracking, decay, deformity, and fruit diameter. Blueberries require small-target maturity classification on bushes or conveyor lines, together with the rejection of early bruising. Table grapes are commonly graded as whole clusters according to maturity, sugar–acid levels, cluster integrity, and berry condition. Previous research has demonstrated that visible–near-infrared spectroscopy combined with machine learning can support both maturity-stage discrimination and soluble solids content assessment [
120]. Small-fruit grading is therefore better implemented through an integrated strategy comprising high-speed visual screening of external quality, spectroscopic verification of internal quality or latent injury, and compliant conveying with low-drop diversion.
The commercial grade of sweet cherries is determined primarily by cracking, decay, mechanical injury, and conjoined or stemless deformities. Defects occupy small areas, the fruit surface is highly reflective, and stems frequently cause occlusion; consequently, vision models require both fine-grained feature extraction and high-speed inference. Liu et al. proposed a YOLOv8-DCPF model incorporating DWR multiscale convolution, CAFM attention, PIoU loss, and self-distillation to identify sound, cracked, decayed, conjoined, and stemless malformed cherries. The model achieved a precision of 92.6%, mAP@0.5 of 91.2%, recall of 89.4%, and an F1-score of 89.0%, while occupying only 5.6 MB and processing 126 frames/s [
121] (
Figure 13A–D). This method is suitable for localizing small defects and rejecting shape abnormalities on continuous conveying lines. Commercial validation must nevertheless account for changes in stem orientation, duplicate detections caused by fruit rotation, and missed detection of small cracks on unobserved surfaces.
The principal challenges in blueberry grading are the dense arrangement of berries and the subtle color differences between adjacent ripening stages, while surface bloom and ambient illumination further alter fruit brightness. In addition, early bruising caused during harvesting and handling can damage tissues before visible symptoms develop. Esaki et al. acquired 250 orchard images at a resolution of 4032 × 3024 pixels and annotated 4506 blueberries. YOLOv8 was used to localize individual berries, and a Vision Transformer with 5.7 million parameters classified them into five stages: mature green, green-pink, blue-pink, blue, and fully ripe. The mean accuracy across three random dataset partitions was 93.7%, while the mean stage-specific accuracies were 88.8%, 83.1%, 84.7%, 71.9%, and 99.8%, respectively, identifying the transition from blue to fully ripe as the primary source of confusion [
20] (
Figure 14A–D). Liu et al. further fused hyperspectral, color, texture, and shape information and optimized SVM parameters using a peacock optimization algorithm. The resulting PKOA-SVM achieved recognition accuracies of 98.92% for stem-end bruising at 24 h and 94.56% for calyx-end bruising at 30 min. Compared with spectral features alone, texture–spectral fusion improved accuracy by 5.61 and 8.34 percentage points, respectively [
122]. RGB vision is therefore appropriate for high-throughput preliminary maturity screening, whereas hyperspectral imaging is better reserved for berries with similar external appearances or suspected injury. When the two techniques are combined, low-drop rolling, compliant belt surfaces, or air-jet sorting should be used to preserve the surface bloom and minimize secondary bruising.
Unlike cherries and blueberries, table grapes are generally graded as whole clusters. Overlapping berries cause visual occlusion and spectral scattering, while single-point measurements are highly sensitive to sampling position. Daniels et al. performed noncontact FT-NIR scans of 338 intact table-grape clusters and used PLS to simultaneously predict soluble solids content (SSC), titratable acidity (TA), the SSC/TA ratio, pH, and BrimA. The SSC model achieved R
2p = 0.71 and RMSEP = 1.52 °Brix, while the BrimA model achieved R
2p = 0.77 and RMSEP = 1.80 [
21]. Chen et al. acquired hyperspectral images of four table-grape cultivars and employed a full-spectrum extreme learning machine for cultivar authentication and SSC prediction. The cultivar-classification accuracy reached 97.56%, while SSC prediction yielded R
2p = 0.75 and RMSEP = 0.81 °Brix [
123] (
Figure 15A–D). These results indicate that whole-cluster or multipoint spectroscopy can support both cultivar authentication and internal-quality grading. Online implementation must nevertheless control cluster orientation, illumination distance, and effective surface coverage and should coordinate whole-cluster vision, spectroscopic maturity assessment, compliant weighing, and packaging specifications rather than directly applying models developed for individual berries.
Sweet cherries favor high-speed RGB defect screening, blueberries require small-target vision with selective latent-injury assessment, and table grapes require whole-cluster sensing. Across these commodities, evidence should report throughput, mild-defect recall, stem or surface-bloom damage, cross-season validation and post-grading shelf life.