Next Article in Journal
Addition of Amaranth Flour of Different Particle Sizes at Established Doses in Wheat Flour to Achieve a Nutritional Improved Wheat Bread
Next Article in Special Issue
Non-Destructive Discrimination of Sunflower Seeds with Different Internal Mildew Grades by Fusion of Near-Infrared Diffuse Reflectance and Transmittance Spectra Combined with 1D-CNN
Previous Article in Journal
Oleogels—Innovative Technological Solution for the Nutritional Improvement of Meat Products
Previous Article in Special Issue
Exploring the Analytical Complexities in Insect Powder Analysis Using Miniaturized NIR Spectroscopy
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Review

Application of Near-Infrared Spectroscopy and Hyperspectral Imaging Combined with Machine Learning Algorithms for Quality Inspection of Grape: A Review

1
College of Information Science and Technology, Shihezi University, Shihezi 832003, China
2
College of Agriculture, Shihezi University, Shihezi 832003, China
3
School of Information Engineering, Huzhou University, Huzhou 313000, China
*
Authors to whom correspondence should be addressed.
Foods 2023, 12(1), 132; https://doi.org/10.3390/foods12010132
Submission received: 7 November 2022 / Revised: 6 December 2022 / Accepted: 22 December 2022 / Published: 27 December 2022

Abstract

:
Grape is a fruit rich in various vitamins, and grape quality is increasingly highly concerned with by consumers. Traditional quality inspection methods are time-consuming, laborious and destructive. Near-infrared spectroscopy (NIRS) and hyperspectral imaging (HSI) are rapid, non-destructive and accurate techniques for quality inspection and safety assessment of agricultural products, which have great potential in recent years. The review summarized the applications and achievements of NIRS and HSI for the quality inspection of grapes for the last ten years. The review introduces basic principles, signal mode, data acquisition, analysis and processing of NIRS and HSI data. Qualitative and quantitative analysis were involved and compared, respectively, based on spectral features, image features and fusion data. The advantages, disadvantages and development trends of NIRS and HSI techniques in grape quality and safety inspection are summarized and discussed. The successful application of NIRS and HSI in grape quality inspection shows that many fruit inspection tasks could be assisted with NIRS and HSI.

1. Introduction

The grape (Vitis vinifera L.) is a woody vine of the Vitis genus in the family of Vitaceae. They are cultivated worldwide, and most are concentrated in the northern hemisphere [1]. Grape is a kind of world economic crop fruit, and it is one of the essential components of the agricultural economy for immense dietary purposes [2]. It is popular due to its rich vitamins and unique flavor. Grapes are consumed as fresh fruit (table grapes), dried fruit (raisins), juice, and a large proportion of grapes are used to make wine [3]. Especially grape quality and variety are the main determinants of wine quality, and pigments extracted from the grape skin are reused as functional food ingredients in other food products [4]. Besides, it is adaptable, widely distributed, and easy to manage, with high yield, rich nutrition, multiple uses and high economic benefits in the local and national economy. Increasingly, consumers are concerned about quality, and it has a significant influence on grape winemaking [5]. Therefore, grape quality detection is vital, and it is helpful for fully utilizing grapes of all grades. Generally, good quality grapes are used for food, while poor quality grapes are used as fertilizer or fuel, which also responds to environmental rules and contributes to sustainable economic development [6].
Grape quality means the internal factors, such as sugar content (roughly equivalent to soluble solids content, SSC), acidity and phenolic, and external factors, such as color, firmness (Durofel index, DI) and surface defect. Grape safety refers to the pesticide residue and decay on the surface here. Generally, the method of fruit quality detection has been divided into conventional (destructive) techniques and advanced and green (non-destructive) techniques. Currently, the main conventional techniques include various chemical inspection methods, such as High-Performance Liquid Chromatography (HPLC) [7], Gas Chromatography (GC) [8], Mass Spectrometry (MS) [9], and Gas Chromatography-Mass Spectrometer (GC-MS) [10], etc. They are diagnostic analytical methods at the molecular level, and are used combined with NIRS, HSI and other scientific studies. Besides, they are time-consuming, laborious, cost and required the complex operation and process, and they are unsuitable for the extensive detection of fruits in the real world. Thus, the development of the fruit economy and application is seriously restricted.
Researchers have been exploring green, rapid and accurate non-destructive techniques (NDTs) to monitor agro-product quality in the past decades. Common non-destructive techniques are mainly imaging-based, spectroscopy-based, and other non-destructive methods [6]. Among them, imaging-based approaches include RGB imaging, multispectral imaging, hyperspectral imaging, backscattering imaging, thermal imaging (TI), fluorescence imaging, magnetic resonance imaging, X-ray and Ultrasonic imaging. Spectroscopy-based techniques contain NIR spectroscopy and Raman spectroscopy. Other non-destructive methods are the electronic nose, electronic tongue, dielectric, and acoustic [6]. Non-destructive detection of quality would allow the fruit industry to provide better tasting grape fruit to consumers, which would improve competitiveness and profitability in the market.
In recent years, near-infrared (NIRS) and hyperspectral imaging (HSI) have been widely used in agriculture [11], the food industry [12] and the medical industry [13], etc. However, comprehensive literature on grape quality inspection of NIRS and HSI techniques has not been available to our knowledge. The review was conducted by reading and analyzing the literature of the last ten years to comprehensively understand the quality inspection for grapes using NIRS and HSI techniques. The basic principles, data processing methods, calibration model and research results are summarized and analyzed. The development trends and shortcomings of the NIRS and HSI techniques in fruit quality inspection are discussed. Based on the NIRS and HSI, this is the first time that a comparative study between entire grapes, skins and seeds has been evaluated with this purpose. The frame of the review is shown in Figure 1.

2. Introduction to NIRS and HSI Technologies

2.1. Basic Principles and Signal Mode

Near-infrared spectroscopy (NIRS) is vibrational spectroscopy, and it covers the wavelength range of 780–2500 nm (12500–4000 cm−1), which presents the molecular bond vibrations, including hydrogen-containing O–H, C–H, N–H and C-O groups [14,15]. It is a commonly used technique for non-destructive quality inspection of agro-products. When radiation hits a sample, the incident radiation may be reflected, absorbed and transmitted. The relative contribution of each phenomenon depended on the sample’s chemical constitution and physical parameters [16].
Hyperspectral imaging (HSI) is another commonly used advanced technique for the non-destructive quality inspection of agro-products, which combines spectroscopy and the conventional imaging technique. It can obtain three-dimensional (3D) data information from the sample simultaneously, including the one-dimensional (1D) spectral information and two-dimensional (2D) spatial (image) information, achieving the unity of the map and spectrum [17,18], which is helpful to obtain qualitative and quantitative information about the product.
In signal mode, the interaction between light and biological tissues proves to be highly complicated [19]. When the incident light hits the grape, the part of light will be reflected on the surface directly, the remaining light penetrates the tissue interior, where they are absorbed and scattered. Before the light is absorbed, light spreads out in all directions, forming transmission or diffuse reflection. Among them, light exiting from the same side (the angle between the incident light and the emergency light is less than 90°) is defined as diffuse reflection, and the light exiting from the other side (the angle between the incident light and the emergency light is equal to or greater than 90°) is called transmittance [20].
Generally, NIRS and HSI present the three detection modes, including reflectance, transmittance, and interactance [21,22], as shown in Figure 2. Generally, reflectance refers to diffuse reflectance, and illumination and the detector are on the same side, as is shown in Figure 2a. The full transmission mode is usually configured with the illumination and detector on opposite sides of the sample, and the illumination, detector and sample are in one line, as is shown in Figure 2b. However, regarding partial transmittance, the illumination, detector and sample are not in a line, as is shown in Figure 2c. In interactance mode, the illumination and detector are installed on the same side of the sample and parallel to each other. In addition, a light barrier is placed between the illumination and the detector to prevent interference, as is shown in Figure 2d.

2.2. Data Acquisition

Near-infrared spectroscopy (NIRS) data is acquired by a near-infrared (NIR) spectrometer. Generally, it consists of four modules: A light source, detector, sample stage, and light-isolating [23]. Based on the application, NIR spectrometers can be divided into laboratory, portable, and online spectrometers [14]. In recent years, portable vis/NIR systems have been developed due to innovations in optical system design and miniaturization for their friendly use directly in the field [24]. Specific online applications include laboratory scale, semi-industrial pilot scale applications, and industrial conditions [19,25].
Hyperspectral imaging (HSI) data is obtained by a HSI system. A typical HSI system generally contains four modules: An imaging unit, an illumination source, a carrier stage, and a computer with corresponding control software [26]. The imaging unit consists of the charged-couple device (CCD) camera. The illumination unit is composed of a tungsten-halogen lamp to provide illumination. A sample was presented in the sample stage, and the data were acquired and processed in the computer equipped with relevant analysis software. Three ways to obtain hyperspectral images are developed, including point scan mode, line scan mode and area scan mode. To some extent, the NIR spectrometer and hyperspectral image system have their advantages, disadvantages and application fields, and the main similarities and differences are shown in Table 1.

2.3. Data Analysis and Processing

Data analysis includes qualitative and quantitative analysis. The qualitative analysis of the sample provides non-quantifiable attributes, while quantitative analysis can extract quantitative sample information from the NIRS and HSI data. Generally, the analysis processing of NIRS and HSI data is shown in Figure 3. The main steps of data processing are summarized as follows:
(1)
Division of sample set. When the sample set is divided, the sample’s content distribution, gradient, and physical and chemical properties should be considered to improve the calibration model’s stability and expand the model’s practical application. The main dividing methods include Kolmogorov-Smirnov (KS) [27], sample set partitioning based on joint x-y distance (SPXY) [28] and random ratio.
(2)
Collection and extraction of data. The NIRS and HSI data are obtained, and the chemical analysis values are measured. NIRS acquires spectral data and directly processes it later. Regarding HSI data, it will be corrected with a black and white reference image to eliminate random noise signals caused by a light source or power supply [29]. The region of interest (ROI) is extracted using masking to remove the background.
(3)
Data preprocessing. The spectral signal obtained by the detector includes various non-target factors, such as high-frequency random noise, baseline drift, stray light, etc. Therefore, the obtained spectra should be reasonably pretreated before data analysis for the specific spectral measurement and sample. Normalization, Savitzky-Golay (SG) [30], Standard Normal Variate (SNV) [31], and Multiplicative Scatter Correction (MSC) [32] have been used widely to reduce noise. Normalization is to map the data to the range to unify the dimension and speed up the calculation. Besides, it could reduce the spectral difference caused by the varying height of the sample surface. SG can eliminate spectral noise, such as baseline offset, tilt, reverse, etc. SNV is commonly used to attenuate the slope variation of spectra. MSC is applied to remove the undesirable scatter effect. Besides, derivative processing, Fourier Transform (FT), Wavelet Transform (WT), etc., are applied in some cases.
(4)
Establishment of calibration models. For the qualitative analysis, the calibrations are conducted by the classification model using the sample label (variety, origin, year, etc.) as the dependent (Y) variable and grape spectra as the independent (X) variable [33]. Classification calibrations models are built, such as Partial least squares discriminant analysis (PLS-DA) [34], K-nearest Neighbor (KNN) [35], Support Vector Machine (SVM) [36], K-means [37], Artificial neural networks (ANN) [38], etc. For quantitative analysis, calibrations were developed by the regression model using the fruit physicochemical attribute as the dependent (Y) variable and grape spectra as the independent (X) variable [33]. Regression calibrations models are established, such as Partial Least-square Regression (PLSR) [39], Multiple Linear Regression (MLR) [40], SVM [36], ANN [38], Principle component regression (PCR) [41], etc. For NIRS, the input data is the principal component of the grape spectra. Regarding HSI, it is spectra, images, or a combination of spectra and image features.
(5)
Evaluation of the calibration model. The model conducted is evaluated for its reliability and generalization capability with external validation data sets or/and cross-validation techniques. There are some evaluation indices: Accuracy (acc), precision, recall, and F-score, etc., for qualitative analysis; the correlation coefficient (R), coefficient of determination (R2/RSQ), root mean squared error (RMSE), residual predictive deviation (RPD), etc., for quantitative analysis.
(6)
Prediction of unknown samples [42]. The unknown samples were scanned to obtain NIRS and HSI data, and their contents were calculated by models established and evaluated.

3. Applications

In recent years, NIRS and HSI technologies have been widely used to assess agro-product quality, enabling a better understanding of the sample’s composition, physicochemical characteristics, and internal structure. In this section, qualitative research of NIRS and HSI in grapes were analyzed, mainly including discrimination of the variety, vintage, vineyard, maturity, quality grading, status evaluation, seeded or seedless, safety inspection, etc., which are summarized in Table 2, Table 3 and Table 4. Quantitative analysis in grape berries, grape seed, grape skin and grape pomace mainly consists of internal quality assessment, sensory and preference analysis of consumers, biochemical component detection, etc., summarized in Table 5 and Table 6. Internal quality parameters discussed here consist of texture and flavor, which are significant for determining the nutritional values and marketability of agro-products. The relationship between spectra data and the sensory preference analysis of consumers will be explored. Biochemical composition detection consists of evaluating extractable polyphenols (total phenolic, anthocyanins and flavanols), amino acids and glycosylated aroma compounds. Besides, NIRS obtains the spectra data, and HSI acquires the spectra and image data. Thus, relevant research was summarized and compared in the section based on the spectra feature, image feature (color space, texture and morphology) and fusion feature.

3.1. Spectral Feature Analysis

3.1.1. Qualitative Analysis

Variety Identification

Grape cultivars, especially wine grapes, play an essential role in winemaking, directly affecting grape wine quality. Cheng et al. used HSI to identify varieties of six white and six red wine grapes during the ripening period. The mahalanobis distance was employed to remove outliers of the spectral data. Six different pre-treatments (MSC, S-G filter, 0–1 normalization, SNV, first derivative and second derivative) were applied. Principal Component Analysis (PCA) loading was used to select effective wavelength. SVM, Random Forest (RF), and AdaBoost models were built with effective and full wavelength as prediction models. The S-G Filter + PCA + SVM achieves the best classification result, with the accuracy of 81.09% and 90.01% for white and red grapes [43]. Xu et al. used HSI based on ensemble empirical mode decomposition discrete wavelet transform (EEMD-DWT) to identify grape varieties. EEMD-DWT, SG, DWT and EMD were applied to denoise, and Competitive Adaptive Reweighted Sampling (CARS) and Successive Projections Algorithm (SPA) was involved in extracting the feature wavelength. Finally, SVM was built to identify the varieties of grapes, with the best accuracy of 99.3125% based on a model of EEMD-DWT-CARS-SPA in Monte Carlo (MC) experiments [44]. Besides, the chemical composition of seeds changes during grape ripening, affecting the wine’s sensory properties [45]. Zhao et al. used near-infrared HSI with multivariate analysis to non-destructively and rapidly discriminate and visualize different grape seeds. The effective wavelengths were extracted by the PCA loadings of the first six PCs. SVM was applied to establish classification, with a calibration accuracy of 94.3% and a prediction accuracy of 88.7% [46]. Rodríguez-Pulido et al. used NIR hyperspectral imaging combined with multivariate analysis methods PCA and General Discriminant Analysis (GDA) to predict the variety of grape seeds. The study shows a good result, with the accuracy of 100% using full spectra and 96% using the six selected wavelengths [47]. Quijada-Morín et al. successfully divided grape seeds into seven groups through hyperspectral imaging characteristics with k-means [48].
Table 2. Qualitative analysis of near-infrared spectroscopy (NIRS) in grape.
Table 2. Qualitative analysis of near-infrared spectroscopy (NIRS) in grape.
VarietyNoModS/IAttributeExtObjectModelApplicationBest Result
(Accuracy%)
Reference
‘Kyoho’86interSseed or seedlessNoberryPLS-DAidentify seed or seedlessacc = 93.10%[49]
Graciano (two
origins)
84reflSphenolic in skin and seedNoseed, skin, berryDPLSidentify the originacc = 95%, 66%, 93%
(DPLS, seed, berry, skin)
[50]
Manicure Finger, Ugni Blanc341interSSSC, TP,
CIELAB
NoclusterPLS-DAquality grade77.00–94.00%[51]
Tempranillo, Syrah (two years)400dreflSTP, anth, flavNoberry, skinLDA, DPLS, Pearsonquality
assessment
acc = 87.0, 91.3, 91.3
(LDA), others are poor result
[52]
Syrah, Cabernet
Sauvignon
1008reflSTSS, yellow
flavonoids, anth
NoberryPCA-LDA,
PCA-QDA,
LDA_Mahalanobis,
PLS-DA
maturity evaluationacc = 93.15% (PLS-DA), 92.86% (LDA), 92.26% (QDA), 92.26% (LDA_Mahalanobis)[53]
Manicure Finger
Ugni Blanc
540dreflSL*a*b, SSC, TPSPA,
CARS
berryPCA
SVM-DA
maturity evaluationacc = 90.00% (MF)
acc = 100.00% (UB)
(SSC-CARS-SVM-DA)
[54]
Sangiovese400absorbSSSC, TA, DI anthNoberryPCAmaturity evaluationclear clusters (PC1 for 93.42%, PC2 for 4.72%)[55]
Pedro Ximénez,
Cabernet Sauvignon
24reflSSSC, PH, TA, MA,
reducing-sugar, tartaric acid
NobunchPLS-DAmaturity evaluationacc = 79.00–100.00%[56]
Variety refers to grape varieties. No means the number of the sample in the research. Object means the object-wise: single berry, a bunch, grape skin and grape seed. S/I means spectra and image features, respectively. Mod means the signal mode: transmittance mode (trans), interactance mode (inter), reflectance mode (refl), diffuse reflectance (drefl), and diffuse transmittance (dtrans). Ext means the approach to extracting effective wavelength. Best result means the best perform of model in the research. Application means the main relevant research contents in this cited literature. Reference means the reference resources.
Table 3. Qualitative analysis of hyperspectral imaging (HSI) in grape.
Table 3. Qualitative analysis of hyperspectral imaging (HSI) in grape.
VarietyNoModS/IAttributeExtObjectModelApplicationBest Result (Accuracy%)Reference
Garnacha (two vineyards), Graciano, Mazuelo, Tempranillo50reflSIChromatographic, color, NIR, fusion dataNoberryStepwise-LDAidentify grape varietyacc = 88%, 54%, 100%, 100% (internal validation)
acc = 86%, 52%, 86%, 86% (external validation)
[57]
Six white and red wine grapes5640reflSNoPCAberryAdaBoost, SVM,
RF
identify grape varietyacc = 81–93.00%[43]
Hutai, Kyoho, Muscat, Summer black480(120 * 4 varieties)reflSNoCARS,
CARS-SPA,
MCCV
berrySVMidentity grape varietyacc = 99.3125%
(CARS-SPA)
[44]
Tempranillo, Syrah, Zalem-a (two soils)56reflSNoPCAseedGDAidentity grape seed varietyacc = 100% (full
wavelength), ≥96%
(selected wavelength)
[47]
Hongtizi, Meirenzhi, Jufeng500reflSNoPCAseedSVMidentity grape seed varietyacc = 88.70%[46]
Tempranillo1232reflSFlavanolicPCAseedk-meanspredict
flavanolic
k-means clustering great[48]
Variety refers to grape varieties. No means the number of the sample in the research. Object means the object-wise: single berry, a bunch, grape skin and grape seed. S/I means spectra and image features, respectively. Mod means the signal mode: transmittance mode (trans), interactance mode (inter), reflectance mode (refl), diffuse reflectance (drefl), and diffuse transmittance (dtrans). Ext means the approach to extracting effective wavelength to build mode. Best result means the best performing model in the research. Application means the main relevant research contents in this cited literature. Reference means the reference resources.
Table 4. Safety inspection of NIRS and HSI in grape.
Table 4. Safety inspection of NIRS and HSI in grape.
VarietyNoModS/IAttributeExtObjectModelApplicationBest Result
(Accuracy%)
Reference
Chardonnay,
Grillo, Inzolia,
Viognier,
Nero’d’Avola, Syrah
1235 healthy, 1324 diseasedreflSHealthy and diseased statusNobunchPLS-DAphytosanitary status
evaluation
acc = 89.80–94.00%[58]
table grape686reflSno, single and double dose of pesticidePCA, LASSO, Elastic Net
regularization
clusterANN, SVM, RF, XGBoostidentity
pesticide level
acc = 91.98% (SVM-LASSO)[59]
cabernet sauvignon, Red grape, Munage1071reflSfour mixed pesticide
levels
NoclusterRF, LR, SVM, ResNetidentity
pesticide level
acc > 93.00%[60]
Variety refers to grape varieties. No means the number of the sample in the research. Object means the object-wise: Single berry, a bunch, grape skin and grape seed. S/I means spectra and image features, respectively. Mod means the signal mode: Transmittance mode (trans), interactance mode (inter), reflectance mode (refl), diffuse reflectance (drefl), and diffuse transmittance (dtrans). Ext means the approach to extracting effective wavelength to build mode. Best result means the best performing model in the research. Application means the main relevant research contents in this cited literature. Reference means the reference resources.
Table 5. Quantitative analysis of near-infrared spectroscopy (NIRS) in grape.
Table 5. Quantitative analysis of near-infrared spectroscopy (NIRS) in grape.
VarietyNoModAttributeExtObjectModelApplicationBest Result(R2)Reference
Grape mash
(36 varieties)
168reflFructose, PH Glucose, TA, Glycerol, MA, Gluconic acid, Ergosterol, Ethanol, acetic acid, Tartaric acid, Laccase activityNoberryPLSRpredict grape mashes compositionR2 = 0.873 (Relative density), 0.836 (Glycerol), 0.851 (Ergosterol), 0.345 (TA), PH (0.393)[25]
Tannat
(3 years)
56reflglycosylated aroma compoundsNohomogenized, juicePLSRpredict glycosylated aroma compoundsRPD > 1.5 (5 and 4 norisoprenoids compounds, in homogenized and juice)[61]
Cabernet Sauvignon, Syrah1008reflTSS, anth, yellow flavonoidsNoberryPCR, MLR, PLSRquality evaluation≥0.90 (TSS and anthocyanins); ≥0.70 (flavonoids)[53]
Autumn royal, Timpson, Sweet scarlett450reflDry matter (DM), TSS/SSCNoberryPLSRquality evaluationR2 = 0.83,0.81 (DM), 0.97, 0.95 (TSS) for two spectrometers[62]
Jufeng115dtranSSCNobunchPLSRquality evaluationR = 0.83[63]
Tempranillo (laboratory, field)1643reflTSSNoberryPLSRquality evaluationRMSEP = 1.42°Brix, SEP = 1.40°Brix (laboratory);1.68°Brix, 1.67 Brix (field)[64]
Sangiovese9600dreflBrix, Babo, TS, glucose, fructose, density, TA, tartaric acid, pH, MA, anth, TP, gluconic acid, assumable nitrogenmNoberryPLSRquality evaluationR2 = 0.93 (°Brix), 0.93 (°Babo), 0.94 (TS), 0.93 (glucose), 0.55 (TA), 0.92 (fructose), 0.91 (density), 0.66 (PH), 0.76 (anth)[65]
Tempranillo144reflTSS, anth, total polyphenolsPCAbunchPLSRpredict TSS, anth, total polyphenolsR2 = 0.95, 0.79, 0.43[66]
Grenache128reflTSS, amino acidNoclusterPLSRpredict amino acids and TSSR2~0.60 (asparagine, tyrosine proline in 570–1000; lysine, tyrosine, proline in 1100–2100), 0.90 (TSS)[67]
Ruby Seedless grape700reflSSCNoberryPLSR, LS-SVMpredict SSCR2 = 0.889~0.918 (LS-SVM); 0.874~0.907 (P-LSR)[68]
Syrah, Tempranillo400dreflTP, anth, flavaNoberry, skinMPLSRquality evaluationpoor results[52]
table grape cv Italia682dreflSSCNoberryPLSRsensory analysisR2 = 0.85 (cross-validation); 0.82 (external validation)[69]
Autumn Royal, Victoria350reflTSS/SSC, TANoberryPLSRpredict consumer preference driving factorsR2 = 0.5732 (TA), 0.8304 (TSS)[70]
Thompson seedless, Regal seedless, Prime seedless338dreflTSS, TA, PH,
TSS/TA, BrimA
NobunchPLSRpredict maturity and sensory parametersR2 = 0.71, 0.33, 0.57, 0.28, 0.77[71]
Graciano red grape
(two vineyards)
150refltaste, texture, visual, olfactory featureNoseed
skin
MPLSRpredict sensory parameters and harvest timeseed (4.5% for hardness, 8.7% for colour), skin (9.8% for tannic intensity, 13.7% for astringency[72]
Corvina300reflTSS, DI, weight lossNoberryPLSR, PCApredict withering qualityR2 = 0.62, RPD =1.87 (TSS); 0.56, 1.79 (firmness)[73]
Manicure Finger (MF), Ugni Blanc (UB)540dreflL*a*b, SSC
TP
SPA
CARS
berryPLSR, LS-SVMquality evaluationR2 = 0.531~0.929 (LS-SVM), 0.520~0.897 (PLS); 0.897, 0.929 ( SSC, UB)[54]
Sangiovese400absorbSSC, TA, DI, anthNoberryPearsonquality evaluationR2 = 0.92 (SSC), 0.87 (TA), 0.89 (DI), 0.68~0.97 (anth)[55]
‘Kyoho’ grape172interDI, SSC, PH,NoberryPLSRquality evaluationR2 = 0.7427, 0.7804 (DI); 0.6276, 0.7676 (PH); 0.6926, 0.8052 (SSC)[49]
Manicure Finger, Ugni Blanc341interSSC, TP, LABNoberryPLSRquality evaluationR2 = 0.735, 0.823 (SSC, TP)[51]
Variety refers to grape varieties. No means the number of the sample in the research. Object means the object-wise: single berry, a bunch, grape skin and grape seed. S/I means spectra and image features, respectively. Mod means the signal mode: transmittance mode (trans), interactance mode (inter), reflectance mode (refl), diffuse reflectance (drefl), and diffuse transmittance (dtrans). Ext means the approach to extracting effective wavelength to build mode. Best result means the best performing model in the research. Application means the main relevant research contents in this cited literature. Reference means the reference resources.
Table 6. Quantitative analysis of hyperspectral imaging (HSI) in grape.
Table 6. Quantitative analysis of hyperspectral imaging (HSI) in grape.
VarietyNoModS/IAttributeExtObjectModelApplicationBest Result (R2)Reference
Zalema, Te-mpranillo95reflSflavNoseedPLSRpredict flavanols in grape seedsR2 = 0.88 (1 variety); 0.85 (2 varieties)[45]
Syrah, Tempranillo99reflSanthNoberryMPLSRScreen anthocyaninsR2 = 0.86[33]
Cabernet Sauvignon46reflSanthPCAskinPLSRdetect anthocyanin concentrationR2 = 0.65[74]
Cabernet Sauvignon120reflSanthPLSRberryPLSR
SVR
predict the anthocyanin contentR2 = 0.94 (SVR)[75]
Touriga Franca, Tin-ta Barroca, Touriga Nacional552reflSanth, PH
sugar
PCAbunchSVRprediction of oenological parameters for different vintages and varietiesR2 = 0.89 (anth);0.81
(PH); 0.90 (sugar)
[76]
Syrah, Tempranillo200reflSTP, anth, flavPCAskinMPLSRscreen of extractable polyphenols in red grape skinsR2 = 0.82 (TP), 0.79 (anth); 0.82 (flavanol),[77]
Tempranillo144reflSSSC/TSS, anthPCAberrySVMEvaluate TSS and anthocyanin concentrationR2 = 0.92 (TSS); 0.83 (anth)[78]
Sangiovese429reflSSSCVIPberryPLSR, PLS-DAEvaluate SSC and assess harvest timeR2 = 0.77 (PLSR)
acc = 0.86–91% (PLS-DA)
[79]
Kyoho grapes240reflSSSC/TSSCARS, IRIV, V-MDRCberryLSSVM,
PLSR
detect TSSR2 P = 0.93 (VMD-RC-LSSVM)[80]
Sangiovese33dreflSSSCNoberryPLSRpredict SSC in the fieldR2 = 0.75, RMSECV = 0.84[81]
Tempranillo144reflSTSS, TA, PH, anth, MA, total polyphenols, ftartaric acidNoclusterPLSRpredict internal parametersR2 = 0.82 (TSS), 0.81 (TA), 0.61(PH), 0.62 (Tartaric acid), 0.84 (MA), 0.88 (anth), 0.55 (Total polyphenols)[82]
Sugarone Superior, Thompson, Victoria, Sable, Lival, Alphonse Lavallée, Black Magic350reflSflav, anth, TSS,VIP, regression coefficient (PLS)berryPLS (full bands),
MLR (selected bands)
predict TSS, anth,
total flavonoid
MLR: (flav, anth, TSS, selected, β-coefficient)
R2 = 0.93, 0.97, 0.97; 0.93, 0.98, 0.86
VIP-PLS:
R2 = 0.95, 0.99, 0.94
[83]
Touriga Franca, Tint-a Barroca, Touriga Nacional2665reflSsugarNoberryRR, NN, PLSR, 1DCNNpredict sugar contentR2 = 0.94 (1DCNN)[84]
Touriga Franca (2012 and 2013)324reflSsugarNobunchPLSR, NNpredict sugar content in new vintagesR2 = 0.93,0.92 (PLSR, NN, 2012); 0.95, 0.92 (PLSR, NN, 2013) for external[85]
Touriga Franca (2012 and 2013)324reflSsugarNobunchNNpredict sugar content (satisfactory generalization)R2 = 0.906, RSME = 1.165 (2012); 0.959, RSME = 1.026 (2013)[86]
Touriga Franca240reflSsugar, PH, anthNoberryNNpredict maturity parametersR2 = 0.73 (PH), 0.92 (sugar), 0.95 (anth)[87]
Touriga franca (TF, 2012 + 2013); Touriga nacional (TN, 2013); Tinta barroca (TB,
2013)
465reflSPH, anthNoberryNNpredict PH and anthocyanin for new vintages and varietiesR2 = 0.72 (2013, TF, PH), 0.90 (2013.TF, anthocyanin)[88]
Zalema, Syrah, Tempranillo213reflSTP, TA, sugar, PHNoskinMPLSRscreen and control maturity parametersRSQ = 0.89 (TP), 0.99 (sugar), 0.98 (TA), 0.94(PH)[89]
Globe grapes360dreflSISSCCARS, S-PA, UVE, GA, CA-RS-SPA, UVE-SPAberryPLSRpredict SCCR2 c = 0.9775,
R2 P = 0.9762
[90]
4 white and 3 red/black varieties140reflSIPH, TA, SSCNoberryPLSRpredict physical-chemical content and sensoryR2 = 0.95, 0.82 (TA); 0.94, 0.93 (SSC); 0.80, 0.90 (PH) for white and red/black grape[91]
Kyoho grape240reflSDI, PHSAE, SPA, CARSberryLSSVM, PLSpredict DI and PHR2 = 0.923 (SAE-LSSVM)[92]
Variety refers to grape varieties. No means the number of the sample in the research. Object means the object-wise: Single berry, a bunch, grape skin and grape seed. S/I means spectra and image features, respectively. Mod means the signal mode: Transmittance mode (trans), interactance mode (inter), reflectance mode (refl), diffuse reflectance (drefl), and diffuse transmittance (dtrans). Ext means the approach to selecting effective wavelength to build mode. Best result means the best performing model in the research. Application means the main relevant research contents in this cited literature. Reference means the reference resources.

Maturity Identification

Maturity estimation is critical for determining the grapes’ optimal harvest timing and storage mechanism. Study results have verified the possibility of maturity detection. Based on the spectral feature, Costa et al. used Linear discriminant analysis (LDA), Quadratic discriminant analysis (QDA), LDA_Mahalanobis and PLS-DA classification models to identify the three maturation stages of grapes (green, véraison, and ripe). PLS-DA performed best, with an accuracy of 93.15% [53]. Ribera-Fonseca et al. divided four different maturity clusters according to an Index of Absorbance Difference (IAD) of visible and near-infrared (VIS/NIR) spectroscopy (Cherry-Meter) by PCA, increasing level of maturity defined using technological parameters and anthocyanins concentration [55]. Virginia et al. collected white and red grapes in six stages according to the time. They divided them into three groups according to reducing-sugar content: Insufficiently ripe (1), optimally ripe (2 and 6), and overripe (3, 4 and 5) for white grape, and three groups: Young red wines (1), vintage reds (2, 5 and 6) and even sweet reds (3 and 4), respectively. PLS-DA was built for classification, and the percentage of correctly classified samples by the group was greater than 83% in all groups, except for the third stage in red grapes (79%) [56]. Baca-Bocanegra et al. used the NIRS technique combined with LDA, Discriminant partial least square (DPLS), and Pearson’s similarity index to predict the level of phenolic, flavanolic and anthocyanic compounds (divided into two classes by the extractable pyhsical-chemistry content). However, the study shows unremarkable results except for internal validation in 2017 season (especially for LDA, with an average accuracy of over 87%) [52]. Xiao et al. used VIS/NIR spectroscopy combined with SVM-DA based on the full and effective wavelengths (CARS and SPA) to discriminate five stages (green, pre-veraison, veraison, post-veraison, ripe). The SSC-based CARS-SVM-DA model showed classification accuracies of 90% and 100% for ‘Manicure Finger’ and ‘Ugni Blanc’ [54].

Seeded and Seedless and Geographical Origin Identification

Seedless grapes are essential factors affecting consumer preferences. The usual way is to tear the grapes to check the internal conditions of the grapes, which are time-consuming and laborious and cannot be used in large-scale industries. The spectral difference in the interaction mode can reflect the internal composition of the fruit. Based on the spectral feature, Kanchanomai et al. used the NIRS technique combined with the PLS-DA model to distinguish seeded and seedless grapes in the laboratory and field, with the best accuracy of 93.10% in the laboratory [49].
Attention to high-quality agro-products with a clear geographical origin is raising. Identity preservation is significant for the wine industry and market sector owing to many geographical classifications. There is a growing demand for analytical methods for tracing grapes and wines. Ferrer-Gallego et al. used NIRS combined with DPLS to distinguish the vineyard of origin using entire grapes, skin and seeds. The phenolic composition in grape skins and the grape seed was measured by HPLC-DAD/MS, and that of grape skins was regarded as phenolic in intact grapes. The model built by the seed obtained the best result, with the accuracy of 95%, and the excellent result was presented with entire grapes, with the accuracy of 93% [50].

Safety Inspection

Food safety has always been a concern for consumers. The food safety factors discussed here involve phytosanitary status evaluation and pesticide residues. There is an urgent need to develop non-contact techniques such as NIRS and HSI for food safety inspection. Based on the spectral feature, Beghi et al. used NIRS combined with PLS-DA to identify the phytosanitary status (healthy, sunburn, botrytis cinerea, powdery mildew, and sour rot), with the accuracy of 89.80%–94.00% [58]. Mohite et al. used HSI to detect grape of the no, single and double does pesticide residue. PCA, LASSO and Elastic Net were used to extract features, and ANN, SVM, RF and XGBoost were applied as the classification model. LASSO-SVM showed the best result, with the accuracy of 91.98% [59]. Ye et al. used VIS/NIR and NIR hyperspectral imaging to detect three grapes’ pesticide residues. SVM, LR, RF and Residual Network (ResNet) were used as predictive models. An outstanding performance was obtained, and the best result was over the accuracy of 90% [60].

3.1.2. Quantitative Analysis

Quality Assessment

Based on the spectral feature of NIRS, many researchers have measured the physico-chemical composition to evaluate the quality and determine the optimal harvest time of the grape. Costa et al. used VIS/NIR reflectance spectroscopy to predict the quality and maturation attributes (TSS, total anthocyanins and yellow flavonoids) in wine grapes. Several pre-treatments were used, and PCR, PLSR and MLR were utilized as predictive models, which showed promising results for TSS and anthocyanins (R2 ≥ 0.90), and flavonoid content (R2 ≥ 0.70) [53]. Urraca et al. used NIR spectroscopy combined with PLSR under field conditions to estimate the TSS in grape berries. PCA was applied to improve outlier detection based on the 95% confidence ellipse. We used 1600 samples in the laboratory to explore the influence of the number of samples for the model. The result of calibration models built under laboratory conditions indicated that at least 700 berry samples are required to ensure enough prediction accuracy. Under field conditions, the prediction errors (RMSEP = 1.68°Brix, and SEP = 1.67°Brix) were close to those obtained with the laboratory dataset (RMSEP = 1.42°Brix, SEP = 1.40°Brix) [64]. Baca-Bocanegra et al. used a portable micro NIR spectroscopy combined with MPLS to screen extractable polyphenols (total phenolic, anthocyanins and flavanols) in red grape skin. However, the study showed poor results [52]. Xiao et al. used NIRS by comparison of benchtop Fourier-Transform (FT) and portable grating scanning spectrometers to predict SSC, with the best R2 of 0.918 in the region of 833–2500 nm [68]. Fernández-Novale et al. used on-the-go visible-short wave near-infrared (VIS+SW-NIR) spectroscopy combined with PLSR to monitor the composition (TSS, anthocyanin and total polyphenols), with the R2 of 0.95, 0.79 and 0.43 [66].
Besides, spectra data from HSI was used widely for quality assessment in grapes. For the prediction of anthocyanin, Fernandes et al. [74] and Gutiérrez et al. [78] detected anthocyanin content using hyperspectral imaging in the range of 400–1000 nm with PLSR and SVM, respectively, with SVM achieving a higher R2 of 0.83 (0.65 for PLSR). José et al. [33], Chen et al. [75] and Nogales-Bueno et al. [77] detected anthocyanin content using hyperspectral imaging in the range of 900–1700 nm, and research involved the Modified partial least squares regression (MPLSR), PLSR and Support Vector Regression (SVR), with the best R2 result of 0.94 when using SVR. For SSC, Benelli et al. [79], Xu et al. [80] and Benelli et al. [81] used HSI in the range of 400–1000 nm to detect the SSC content. PLSR, LSSVM and PLSR, and PLSR were used in three studies, respectively. Three studies obtained excellent results, and the best was the VMD-RC-LSSVM model, with R2 of 0.93 [80]. María et al. used on-the-go HSI in the vineyard to monitor grapes during ripening. TSS, TA, PH, MA, tartaric acid, anthocyanins, and total polyphenols were measured. PLSR was built to predict those parameters, with the R P 2 (external validation) of 0.82 for TSS, 0.81 for TA, 0.61 for pH, 0.62 for tartaric acid, 0.84 for MA, 0.88 for anthocyanins and 0.55 for total polyphenols [82]. Gabrielli et al. used HSI to predict sugar, total flavonoid, and total anthocyanin contents. PLS with full wavelengths and MLR with optimal wavelengths selected the regression coefficients and VIP score based on PLS were built to predict the grape quality. RMSP based on PLS was 0.9, and this based on MLR with an optimal wavelength of regression coefficients reduced to 0.7°Brix [83]. Nogales-Bueno et al. used near infrared HSI combined with MPLS to predict and evaluate TP, TA, PH and sugar. PCA was applied to a preliminary inquiry for the latent structure of spectral matrix, all parameters obtained the great R2 result (>0.89) [89]. Besides, Rodríguez-Pulido et al. used HSI to determine flavanols in grape seed, and PLSR provide an R2 of 0.73 for total flavanols concentration, and 0.85 for predicting flavanols extracted with the model solution, and 0.88 considering a cultivar [45].
In addition to the above applications of traditional machine learning (ML) methods, deep learning (DL) is also used as a regression analysis model for quality evaluation. Based on the neural networks (NN) or 1DNN, several studies used HSI in the range of 380–1028 nm to detect the sugar content in grapes with different vintages and vineyards, and satisfactory results were presented, with an R2 of over 0.90% [84,85,86,87]. In Gomes et al. [85] and Gomes et al. [86], models were tested from the sample data in 2013, and satisfactory generalization was presented. In Gomes et al. [84], the external validation was developed by an independent test set. Gomes et al. used HSI combined with NN in estimating PH and anthocyanin content for new vintage and varieties and evaluated the generalization ability of HSI. Touriga Franca (TF), Touriga Nacional (TN) and Tinta Barroca (TB) were harvested in 2013, but only TF was collected in 2012. NN was built, trained and validated to predict PH and anthocyanin from the 2012 sample, and TF, TN and TB from 2013 were tested to evaluate generalization ability. The best R2 for PH was 0.72 for TF, and that for anthocyanin was 0.90 for TF. The study showed that if models are trained and generalized well, they would successfully be applied in new vintages and varieties [88].

Parameters Sensory Prediction

Basile et al. used Fourier-transform (FT) NIR spectroscopy to predict the main maturity parameters (SST and acid) and understand consumer preference driving factors in the “Victoria” and “Autumn Royal” grapes. The result showed sugars and acid content in “Victoria” were related to the appreciation. For “Autumn Royal”, there is no strong correlation [70]. Daniels et al. used FT-NIR combined with PLSR to detect maturity and sensory parameters (TSS, TA, TSS/TA, PH) and BrimA (TSS-K X TA) in different vintages and varieties. The optimal preprocess method was decided by the result obtained by the PLSR using 2016 data as the training set and 2017 as the testing set. The model obtained the R2 result of 0.71, 0.33, 0.57, 0.28, and 0.77 for TSS, TA, TSS/TA, pH, and BrimA, respectively [71]. Parpinello et al. used NIR spectroscopy to predict SSC and obtain information about consumer preference in ‘Italia’ table grape. PLSR was established and presented an acceptable result, with R2 of 0.85 for cross-validation and 0.82 for external validation. Discriminant Analysis (DA) was conducted to identify the class of preference by the NIR data, and the model performed a great result, with the accuracy of 78.5%, 98.7% and 75% for class 1, class 2 and class 3 [69]. The results showed that sensory prediction is a complex problem. It was mainly related to sugars, acids content, minor components and other “not flavoring” properties like color and texture, such as crunchiness, gumminess, etc., which is consistent with the literature [93].

3.1.3. Conclusions

Regarding the mode of data acquisition, the discussed studies on NIRS include interactance, reflectance, diffuse reflectance and diffuse transmittance. Regarding HSI, the studies discussed adopted the reflectance. In terms of data preprocessing, PCA, as an unsupervised pattern recognition technique, has been widely used to reduce the dimension of spectra data and select effective wavelengths by the scores of PCA loading, and it shows the spatial distribution of the sample and presents and removes outliers [48,64,66,77]. Besides, Normalization [69,70], SG [69], SNV [71], MSC [49,71] and derivative processing [70,71], etc., have been applied in spectral data preprocessing methods to remove noise. Iteratively retains informative variables (IRIV) [80], Monte Carlo cross-validation (MCCV) [44], LASSO [59] and CARS-SPA [44] have also been widely used to select effective wavelengths to condense the data dimensions and to save computational time.
As for qualitative analysis, the results show a satisfactory performance for seeded and seedless and geographical origin identification, with an accuracy of over 93% [49]. For maturity identification, maturity stages were divided by TP, SSC and other maturity parameters. The classification method is most used by PLS-DA, and the results are acceptable. Besides, maturity identification is conducted using NIRS in those studies. Concerning the classification of grape and grape seed, the most widely used ML model is SVM, with the accuracy of over 81% [43], and the best is 99.3125% based on an EEMD-DWT denoising algorithm [44]. For safety inspection, the phytosanitary status and pesticide residues discussed here showed satisfactory results.
Concerning quantitative analysis, the above research has shown that the prediction result of TSS was better than that of PH, TA and other components [49]. For sensory evaluation, it is challenging considering the inadaptability for every determination of complicated internal and external attributes. For calibration models, PLSR [33,74,75,77,82,83], SVR [75,76,78], MLR [83] and Ridge regression (RR) are widely used. PLSR is the most popular chemometric method, followed by SVR and RR, with good results. However, PLSR does not always show the best results. In Xiao et al. [54], the results indicate that the LS-SVM model showed a better performance than PLSR. Besides, NN [87] and 1DNN [84] are widely applied, with strong generalization ability and stable results. The performance in the laboratory was better than the performance in the field [49,64]. This study presents the potential of using the HSI technique directly in the field through measurements under natural light conditions to predict the quality of grapes [64,81].

3.2. Image Feature Analysis

3.2.1. Qualitative Analysis

For qualitative analysis, research based on image features for grapes is rare here. Grape grading is a vital sector in commercial production, and fine grading and exquisite packaging could effectively improve the value of goods. Image features are often used in qualitative analysis, such as identifying grape grades. Based on the image feature, Xiao et al. measured values of SSC, TP and color space CIELAB. Three classes (Class I, Class II, Class III) were established only by the values of SSC and TP due to poor correlation between CIELAB and spectral data. PLS-DA was built using VIS/NIR Spectroscopy data to identify four different grades of grape, and the accuracy was 77%–94% [51]. This study result is consistent with the previous literature because it is difficult to classify and evaluate grapes only by image features.

3.2.2. Quantitative Analysis

For quantitative analysis, most researchers also used spectra information to assess grape quality, but image features were also applied to prediction. Firmness is the primary textural attribute of fruit and is commonly used to predict the quality of the grape. Based on the NIRS technology, Kanchanomai et al. used NIRS combined with PLSR to predict firmness, and different preprocessing methods were used for comparison. The best model the Savitzky-Golay first derivative (SGD1) for firmness, with the R2 result of 0.7427 and 0.7804 in the laboratory and field, respectively [49]. Xiao et al. used VIR/NIR spectroscopy to predict the L*, a*, b*, SSC and TP, and LS-SVM performed best, and all results were satisfactory [54]. Ribera-Fonseca et al. used a portable VIS/NIR spectroscopy device combined with Pearson correlation to evaluate firmness, and the R2 result of 0.89 was obtained [55]. Beghi et al. used a VIS/NIR spectroscopy combined with PLSR to monitor grape withering by measuring firmness, TSS and weight loss. The R2 and RPD results of 0.56 and 1.79 were obtained for firmness [73]. Color is a combination of visible light reflected or emitted from an object, influencing consumer preference. Xiao et al. used visible-near spectroscopy to grade for Manicure Finger and Ugni Blanc, and color space CIELAB was explored [51]. Besides, sensory parameters were explored. Raúl et al. used NIRS to evaluate sensory parameters, including firmness and color, and the study showed considerable potential for predicting the above sensory attributes [72]. Besides, based on the HSI, Baiano et al. applied HSI to predict the physico-chemical indices (seven grape varieties) and sensory. Sensory data was evaluated by a series of professional panels. To compare a hyperspectral image and RGB image, PLSR was also built using a combination of only red, green, and blue wavelengths and full wavelengths. For spectra data, the average R2 of all results was over 0.80. However, considering the selected three wavelengths, the correlation between sensory data and spectra information was poor. The research showed that HSI could predict physico-chemical indices, while it could not predict sensory data [91]. Min et al. used visible near-infrared HSI with deep learning, based on a regression approach to predict the PH and firmness. Stacked auto-encoders (SAE) was conducted to extract deep spectral features combined with pixel-level and mean spectra. PLS and LSSVM were established to predict firmness and PH. The best model is SAE-LSSVM, with the R2 p of 0.923. The study showed that SAE could be an alternative for dimensionality reduction and could predict the grape quality combined with HSI technology [92].

3.2.3. Conclusions

Image feature has not drawn much interest in quality assessment compared to spectral feature. Regarding data preprocessing, in addition to the methods mentioned in Section 3.1, detrend was used [72], and SGD1 performed the best in Kanchanomai et al. [49]. Apart from the use in Section 3.1.3, PCA was conducted to research the latent structure of spectra data to identify the differences between the sample, and was behind the architecture of many food analysis devices through the analysis of reduced data [54]. In those studies, SPA [54,92], CARS [54,92], and VMD-RC [80] have also been applied to select characteristic wavelength and dimension reduction. Stacked auto-encoders (SAE) [92] has been used to extract the sample’s deep spectral features and obtained a satisfactory result. Similarly, for the calibration model, traditional ML methods, including PLS-DA [51], PLSR [49], and Pearson correlation [55], are used to analyze data and compare the performance between image features and spectral features. The comparison indicates the difficulty of only evaluating internally by image features due to the poor ability to characterize features about the internal information of fruit, while the corresponding spectral data model shows better results.

3.3. Fusion Data Analysis

3.3.1. Qualitative Analysis

Data fusion strategies are performed as low-level, mid-level and high-level data fusion [94]. Low-level fusion is a direct concatenation of raw data from different sources. Mid-level fusion is a splice for features extracted from raw data. High-level fusion is the concatenation of the results from the built model [95]. Based on HSI, data fusion strategies have been used in the field. Here, we mainly discuss the fusion of a similar spectrum or the fusion of a map and spectrum.
Regarding qualitative analysis, the combination of spectral features and image features has been explored. For variety identification, Nogales-Bueno used anthocyanin profile, color image analysis, near-infrared hyperspectral imaging and data fusion (a low-level fusion of spectra and color space) to discriminate four autochthonous red grape cultivars. Stepwise-LDA was built as a classification model, with an accuracy of 88%, 54%, 100% and 100% for internal validation and 86%, 52%, 86% and 86% for external validation for four approaches, respectively. Image features performed poor results, and spectra and fusion data showed satisfactory results [57]. Data fusion was applied in the study, while the result is not better, and it is at least a comprehensive study.

3.3.2. Quantitative Analysis

Concerning quantitative analysis, In Gao [90], GA, CARS, SPA, UVE and CARS-SPA, UVE-SPA were used to reduce dimensionality and extract the optimal wavelengths. The Grey-level co-occurrence matrix (GLCM) was applied to extract the texture feature and integrated it with image information (R, G, B, H, S, V, L, a, b). The result showed that SPA-PLSR combined with the fusion of image and spectra information (mid-level fusion) had the best detection, with the R2 of 0.9775 and 0.9762 for the calibration and prediction set [90]. In that study, the PLSR model using HSI technology obtained good results in the SSC determination of grape with the highest R2 P of 0.9763 based on fusion information in red globe grape. Besides, Orlandi et al. used low-level and mid-level data fusion strategies to condense the information obtained by an electronic eye (EE) and an electronic tongue (ET) sensing system for assessing grape ripening, and PLSR was used. The results showed the models using mid-level fusion performed better than that using EE and ET separately [96]. The studies here show that fusion data perform better than singe feature.

3.3.3. Conclusions

The studies of data fusion are researched as a supplement and comparison to image and spectral features. The spectra and image features of the sample were acquired, while most of the studies only used spectral features. The studies have shown that only the RGB calibration model performance is limited [90,91]. Fusion data showed great feasibility in quality assessment and safety detection due to the acquisition of more features, which increases the accuracy of prediction for quality assessment [90]. A little research presented that the performance of fusion data is close to that of single spectral data, but it is also a comprehensive study [57]. Besides, color space, GLCM and spectral data are fused with various levels, and the multi-source information fusion of EE and ET showed great performance. For calibration models, traditional ML (PLSR and LDA) approaches were used for data analysis, and satisfactory results were obtained. Among them, the low-level and mid-level are used more, and the high-level fusion is the least researched for critical information loss due to the application of the model possibly. Besides, mid-level fusion has a better performance than low-level. Overall, spectra better characterize the features related to grape quality evaluation, while image features can only characterize visible features, such as color, damage, mildew, pests, etc. Thus, spectral features are more suitable and applicable to developing real-world applications than image features. Data fusion is a supplement for spectral data and has shown great potential in non-destructive detection [97,98,99,100,101,102].

4. Challenges and Prospects

In recent years, NIRS and HSI has been proven to be an effective tool due to its characteristics of fast, high accuracy and non-destructive compared with the traditional quality detection methods in agricultural and food products (AFP). The application of NIRS and HSI allows reliable and convenient monitoring of grape composition to facilitate the decision-making process dealing with grape quality sorting and harvest scheduling. While most maturity identification was conducted using NIRS, HSI can also be used for maturity identification due to the catch of color and component changes during ripening. HSI can provide spatial attributes of agricultural produce for visual examination and further image analyses, and a combination of HSI and detection of internal sugar, moisture, surface pesticide residues, etc., was researched by many researchers and obtained satisfactory results. Besides, the visualization prediction technology of HSI provides excellent convenience for actual industries and applications.
The current hyperspectral imaging technology mainly faces significant challenges. Regarding the data processing, hyperspectral imaging data is high volume and redundant, which usually requires various effective algorithms to extract feature wavelengths for dimensionality reduction, making data preprocessing for noise reduction, and robust calibration models for extracting deep features. As summarized above, the preprocessing and wavelength extraction methods are determined by actual performance. In general, SG, SNV and MSC are common and efficient pre-treatment methods, and PCA and SPA are used widely for wavelength extraction and perform acceptable results. Besides, Deep learning (DL) shows the remarkable ability of feature extraction. However, the spatial information obtained through hyperspectral imaging is not fully utilized, while it contains some critical information. The data fusion technology could extract more comprehensive information, including internal hydrogen-containing group information (e.g., O-H, C-H, and N-H) and external image information, and it always has a good performance [57,90,91,100].
Robust calibration models have always been the focus of researchers. Various ML models have always obtained excellent and acceptable results. However, there is little research on generalization ability. DL have performed excellent quality inspection results and good generalization ability due to the remarkable advantage of processing high-throughput data rapidly and extracting sample features automatically [86,88]. In particular, one-dimensional convolutional neural networks (1D-CNN) are widely used in agro-product quality, and excellent results have been obtained [103,104,105,106]. Besides, the deep convolutional generative adversarial network (DCGAN) was applied in calibration models due to limited or unbalanced data sets, which effectively increased the size and variability of the sample [107]. The low robustness affects the development from laboratory to field application, one variety to another variety, one vintage to another vintage and one device to another device, etc. Many variations exist seriously in nature, and it is complex and inevitable. Thus, we could build various sample databases from different vintage, vineyards, and varieties to meet more variations.
There are many machine learning algorithms used in relevant research, and different methods have shown different effects. For spectral and hyperspectral data from different sources, the data is very complex and diverse. The problem we are facing now is how to deal with these complex problems using existing and new data analysis methods in practical application of grape quality detection. In addition, at the same time, new and various algorithms have developed rapidly. For example, DL is used to effectively extract data features and establish better models [108]; transfer learning can achieve model migration in different application scenarios (different varieties, years and instruments, etc.) [109]; and Automated Machine Learning (AutoML) can be developed to achieve the automation of ML to free up developer’s time to focus on other tasks [110], etc. With the help of these methods, we aim to develop a more robust and universal model, and it might be a future research trend. Besides, the hyperspectral imaging system is currently expensive and ponderous, which is not conducive to promotion and application. The main working range is still near the ground. It is difficult to establish interconnection with Unmanned Aerial Vehicles (UAV) and satellite regional remote sensing to realize large-scale collection and detection of outdoor trees and fruits. This restricts the application of the HSI system in real-time industrial applications. It is necessary to customize the equipment by selecting characteristic bands and developing cheaper equipment.
Overall, as an effective non-destructive testing technology, hyperspectral imaging will still play a significant role in the agro-food industry as a critical research tool. Further development and applications will follow that help the agricultural industry meet food safety and quality inspection needs. The main strategies in the future were proposed to develop rapid, high-precision, real-time and low-cost detection systems for the food industry, and it will be the problem we will continue to work on for a long time in the future. The specific potential and results need to continue to be explored in future research.

5. Conclusions

This review stressed the recent progress of NIRS and HSI in identifying variety, vintage, and geographical origin, and assessing quality attributes, biochemical components and sensory parameters of table grapes. Qualitative and quantitative analysis is compared and summarized regarding signal mode, data preprocessing method, calibration model and result performance. Spectral information, image information and fusion data can be explored based on ML and DL to link the measured reference values, and optimal prediction models could be selected to quantify the enological parameters. The research has shown that NIRS and HSI combined ML have great potential in the quality detection of grapes, which is helpful to fully utilize grapes of all grades and benefits sustainable economic development. The remarkable advantage of this technique is chemical-free and non-destructive detection, together with the abundant information provided, which enables multiple quality features to be examined. In the future, with continued technical innovations in manufacturing and computing, NIRS and HSI performing in a low-cost and high-speed way for online and real-time detection of various products foreseen. More work must be done to implement this technology to achieve real-time applications successfully.

Author Contributions

Conceptualization, W.Y. and C.Z.; methodology, W.Y. and T.Y.; formal analysis, C.Z., P.G. and W.X.; data curation, W.Y., T.Y. and J.Y.; writing—original draft preparation, W.Y., C.Z. and P.G.; writing—review and editing, W.Y. and C.Z.; visualization, W.Y.; funding acquisition, P.G. and W.X. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China, grant number 61965014 and 32060685, and Open Fund for the Key Laboratory of Spectral Testing of the Ministry of Agriculture and Rural Affairs grant number 2021ZJUGP001.

Data Availability Statement

Not applicable.

Acknowledgments

The authors would like to thank Long Duan, a student at the College of Information Science and Technology of Shihezi University in China, for providing help with this review.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

1D-CNNOne-dimensional convolutional neural networks
ANN/NNArtificial neural networks
AnthTotal anthocyanins
CARSCompetitive adaptive reweighted sample
DIDurofel index (berry firmness)
DLDeep learning
DMDry matter
DPLSDiscriminant partial least square
DWTDiscrete wavelet transform
EEMDEnsemble empirical mode decomposition
FlavFlavanols
GLCMGrey-level co-occurrence matrix
GDAGeneral discriminant analysis
IRIVIteratively retains informative variables
LABcolor space values
LDALinear discriminant analysis
LVLatent variable/factors
MAMalic acid contents
MCCVMonte Carlo cross-validation
MLMachine learning
MPLSRModified partial least squares regression
MSCMultivariate scattering correction
PCAPrincipal component analysis
PearsonPearson’s similarity index (1/(1 − R2))
PLSPartial least squares analysis
PLS-DAPLS discriminant analysis
PLSRPartial least-square regression
QDAQuadratic discriminant analysis
RFRandom forest
ResNetResidual Network
RRRidge regression
RSQ/R2Coefficient of determination
SAEStacked auto-encoders
SGSavitzky-Golay smoothing
SNVStandard normal variate transform
SSCSoluble solids content
SVRSupport vector regression
TATitratable acidity
TBTinta Barroca
TFTouriga Franca
TNTouriga Nacional
TPTotal phenolic
TSTotal sugars
TSSTotal soluble solids
VIPVariable importance in projection
VMD-RCVariational mode decomposition (VMD)-regression coefficients

References

  1. Santos, J.A.; Fraga, H.; Malheiro, A.C.; Moutinho-Pereira, J.; Dinis, L.-T.; Correia, C.; Moriondo, M.; Leolini, L.; Dibari, C.; Costafreda-Aumedes, S.; et al. A Review of the Potential Climate Change Impacts and Adaptation Options for European Viticulture. Appl. Sci. 2020, 10, 3092. [Google Scholar] [CrossRef]
  2. Kalekhan, F.; Bala, N.; Rao, S.; Pais, M.L.J.; Adnan, M.; Sajan, S.; Baliga, M.S. Usefulness of grape seed polyphenols in the prevention of skin cancer: A mini review. In Functional Foods in Cancer Prevention and Therapy; Academic Press: Cambridge, MA, USA, 2020; pp. 159–167. [Google Scholar]
  3. Shiraishi, M.; Fujishima, H.; Chijiwa, H. Evaluation of table grape genetic resources for sugar, organic acid, and amino acid composition of berries. Euphytica 2009, 174, 1–13. [Google Scholar] [CrossRef]
  4. Sharma, M.; Usmani, Z.; Gupta, V.K.; Bhat, R. Valorization of fruits and vegetable wastes and by-products to produce natural pigments. Crit. Rev. Biotechnol. 2021, 41, 535–563. [Google Scholar] [CrossRef]
  5. Park, E.; Luo, Y.; Marine, S.C.; Everts, K.L.; Micallef, S.A.; Bolten, S.; Stommel, J. Consumer preference and physicochemical evaluation of organically grown melons. Postharvest. Biol. Technol. 2018, 141, 77–85. [Google Scholar] [CrossRef]
  6. Mohd Ali, M.; Hashim, N. Non-destructive methods for detection of food quality. In Future Foods; Elsevier: Amsterdam, The Netherlands, 2022; pp. 645–667. [Google Scholar]
  7. Reuhs, B.L. High-Performance Liquid Chromatography. In Food Analysis; Food Science Text Series; Springer: Berlin/Heidelberg, Germany, 2017; pp. 213–226. [Google Scholar]
  8. Feng, T.; Sun, M.; Song, S.; Zhuang, H.; Yao, L. Gas chromatography for food quality evaluation. In Evaluation Technologies for Food Quality; Woodhead Publishing: Sawston, UK, 2019; pp. 219–265. [Google Scholar]
  9. Aiello, D.; De Luca, D.; Gionfriddo, E.; Naccarato, A.; Napoli, A.; Romano, E.; Russo, A.; Sindona, G.; Tagarelli, A. Review: Multistage mass spectrometry in quality, safety and origin of foods. Eur. J. Mass Spectrom. 2011, 17, 1–31. [Google Scholar] [CrossRef]
  10. Putri, S.P.; Ikram, M.M.M.; Sato, A.; Dahlan, H.A.; Rahmawati, D.; Ohto, Y.; Fukusaki, E. Application of gas chromatography-mass spectrometry-based metabolomics in food science and technology. J. Biosci. Bioeng. 2022, 133, 425–435. [Google Scholar] [CrossRef]
  11. Reddy, P.; Guthridge, K.M.; Panozzo, J.; Ludlow, E.J.; Spangenberg, G.C.; Rochfort, S.J. Near-Infrared Hyperspectral Imaging Pipelines for Pasture Seed Quality Evaluation: An Overview. Sensors 2022, 22, 1981. [Google Scholar] [CrossRef]
  12. Caporaso, N.; Whitworth, M.B.; Fisk, I.D. Near-Infrared spectroscopy and hyperspectral imaging for non-destructive quality assessment of cereal grains. Appl. Spectrosc. Rev. 2018, 53, 667–687. [Google Scholar] [CrossRef] [Green Version]
  13. Kohler, L.H.; Kohler, H.; Kohler, S.; Langer, S.; Nuwayhid, R.; Gockel, I.; Spindler, N.; Osterhoff, G. Hyperspectral Imaging (HSI) as a new diagnostic tool in free flap monitoring for soft tissue reconstruction: A proof of concept study. BMC Surg. 2021, 21, 222. [Google Scholar] [CrossRef]
  14. Zhang, S.; Liu, S.; Shen, L.; Chen, S.; He, L.; Liu, A. Application of near-infrared spectroscopy for the nondestructive analysis of wheat flour: A review. Curr. Res. Food Sci. 2022, 5, 1305–1312. [Google Scholar] [CrossRef]
  15. Cen, H.; He, Y. Theory and application of near infrared reflectance spectroscopy in determination of food quality. Trends Food Sci. Technol. 2007, 18, 72–83. [Google Scholar] [CrossRef]
  16. Nicolaï, B.M.; Beullens, K.; Bobelyn, E.; Peirs, A.; Saeys, W.; Theron, K.I.; Lammertyn, J. Nondestructive measurement of fruit and vegetable quality by means of NIR spectroscopy: A review. Postharvest Biol. Technol. 2007, 46, 99–118. [Google Scholar] [CrossRef]
  17. Hussain, A.; Pu, H.; Sun, D.-W. Innovative nondestructive imaging techniques for ripening and maturity of fruits—A review of recent applications. Trends Food Sci. Technol. 2018, 72, 144–152. [Google Scholar] [CrossRef]
  18. Saha, D.; Manickavasagan, A. Machine learning techniques for analysis of hyperspectral images to determine quality of food products: A review. Curr. Res. Food Sci. 2021, 4, 28–44. [Google Scholar] [CrossRef] [PubMed]
  19. Porep, J.U.; Kammerer, D.R.; Carle, R. On-line application of near infrared (NIR) spectroscopy in food production. Trends Food Sci. Technol. 2015, 46, 211–230. [Google Scholar] [CrossRef]
  20. Norris, K.H. Reflectance spectroscopy. In Modern Methods of Food Analysis; Springer: Dordrecht, The Netherlands, 1984; pp. 167–186. [Google Scholar] [CrossRef]
  21. Xie, L.; Wang, A.; Xu, H.; Fu, X.; Ying, Y. Applications of Near-Infrared Systems for Quality Evaluation of Fruits: A Review. Trans. ASABE 2016, 59, 399–419. [Google Scholar] [CrossRef]
  22. Lu, Y.; Saeys, W.; Kim, M.; Peng, Y.; Lu, R. Hyperspectral imaging technology for quality and safety evaluation of horticultural products: A review and celebration of the past 20-year progress. Postharvest Biol. Technol. 2020, 170, 111318. [Google Scholar] [CrossRef]
  23. Qu, J.H.; Liu, D.; Cheng, J.H.; Sun, D.W.; Ma, J.; Pu, H.; Zeng, X.A. Applications of near-infrared spectroscopy in food safety evaluation and control: A review of recent research advances. Crit. Rev. Food Sci. Nutr. 2015, 55, 1939–1954. [Google Scholar] [CrossRef]
  24. Ferrer-Gallego, R.; Hernandez-Hierro, J.M.; Rivas-Gonzalo, J.C.; Escribano-Bailon, M.T. Feasibility study on the use of near infrared spectroscopy to determine flavanols in grape seeds. Talanta 2010, 82, 1778–1783. [Google Scholar] [CrossRef]
  25. Porep, J.U.; Erdmann, M.E.; Körzendörfer, A.; Kammerer, D.R.; Carle, R. Rapid determination of ergosterol in grape mashes for grape rot indication and further quality assessment by means of an industrial near infrared/visible (NIR/VIS) spectrometer—A feasibility study. Food Control 2014, 43, 142–149. [Google Scholar] [CrossRef]
  26. Mehta, N.; Shaik, S.; Devireddy, R.; Gartia, M.R. Single-Cell Analysis Using Hyperspectral Imaging Modalities. J. Biomech. Eng. 2018, 140, 0208021–02080216. [Google Scholar] [CrossRef] [PubMed]
  27. Hoffman, J.I.E. Categorical and Cross-Classified Data: McNemar’s and Bowker’s Tests, Kolmogorov-Smirnov Tests, Concordance. In Basic Biostatistics for Medical and Biomedical Practitioners; Academic Press: Cambridge, MA, USA, 2019; pp. 233–247. [Google Scholar]
  28. Galvao, R.K.; Araujo, M.C.; Jose, G.E.; Pontes, M.J.; Silva, E.C.; Saldanha, T.C. A method for calibration and validation subset partitioning. Talanta 2005, 67, 736–740. [Google Scholar] [CrossRef] [PubMed]
  29. Jia, B.; Wang, W.; Ni, X.; Lawrence, K.C.; Zhuang, H.; Yoon, S.-C.; Gao, Z. Essential processing methods of hyperspectral images of agricultural and food products. Chemom. Intell. Lab. Syst. 2020, 198, 103936. [Google Scholar] [CrossRef]
  30. Luo, J.; Ying, K.; Bai, J. Savitzky–Golay smoothing and differentiation filter for even number data. Signal Process. 2005, 85, 1429–1434. [Google Scholar] [CrossRef]
  31. Grisanti, E.; Totska, M.; Huber, S.; Krick Calderon, C.; Hohmann, M.; Lingenfelser, D.; Otto, M. Dynamic Localized SNV, Peak SNV, and Partial Peak SNV: Novel Standardization Methods for Preprocessing of Spectroscopic Data Used in Predictive Modeling. J. Spectrosc. 2018, 2018, 1–14. [Google Scholar] [CrossRef]
  32. Isaksson, T.; Næs, T. The Effect of Multiplicative Scatter Correction (MSC) and Linearity Improvement in NIR Spectroscopy. Appl. Spectrosc. 1988, 42, 1273–1284. [Google Scholar] [CrossRef]
  33. Hernandez-Hierro, J.M.; Nogales-Bueno, J.; Rodriguez-Pulido, F.J.; Heredia, F.J. Feasibility study on the use of near-infrared hyperspectral imaging for the screening of anthocyanins in intact grapes during ripening. J. Agric. Food Chem. 2013, 61, 9804–9809. [Google Scholar] [CrossRef]
  34. Lee, L.C.; Liong, C.Y.; Jemain, A.A. Partial least squares-discriminant analysis (PLS-DA) for classification of high-dimensional (HD) data: A review of contemporary practice strategies and knowledge gaps. Analyst 2018, 143, 3526–3539. [Google Scholar] [CrossRef]
  35. Adeniyi, D.A.; Wei, Z.; Yongquan, Y. Automated web usage data mining and recommendation system using K-Nearest Neighbor (KNN) classification method. Appl. Comput. Inform. 2016, 12, 90–108. [Google Scholar] [CrossRef]
  36. Cervantes, J.; Garcia-Lamont, F.; Rodríguez-Mazahua, L.; Lopez, A. A comprehensive survey on support vector machine classification: Applications, challenges and trends. Neurocomputing 2020, 408, 189–215. [Google Scholar] [CrossRef]
  37. Gong, W.; Zhao, R.; Grünewald, S. Structured sparse K-means clustering via Laplacian smoothing. Pattern Recognit. Lett. 2018, 112, 63–69. [Google Scholar] [CrossRef]
  38. Abiodun, O.I.; Jantan, A.; Omolara, A.E.; Dada, K.V.; Mohamed, N.A.; Arshad, H. State-of-the-art in artificial neural network applications: A survey. Heliyon 2018, 4, e00938. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  39. Cheng, J.-H.; Sun, D.-W. Partial Least Squares Regression (PLSR) Applied to NIR and HSI Spectral Data Modeling to Predict Chemical Properties of Fish Muscle. Food Eng. Rev. 2016, 9, 36–49. [Google Scholar] [CrossRef]
  40. Krzywinski, M.; Altman, N. Multiple linear regression. Nat. Methods 2015, 12, 1103–1104. [Google Scholar] [CrossRef] [PubMed]
  41. Artigue, H.; Smith, G.; Lu, Z. The principal problem with principal components regression. Cogent Math. Stat. 2019, 6, 1622190–1622201. [Google Scholar] [CrossRef]
  42. Khare, S.; Aggarwal, S. Predicting Unknown Classes on Hyperspectral Image Data Using Deep Learning Techniques. In Proceedings of the 2021 IEEE International India Geoscience and Remote Sensing Symposium (InGARSS), Ahmedabad, India, 6–10 December 2021; pp. 475–478. [Google Scholar]
  43. Liu, X.; Zhang, E. Identification of Wine Grape Varieties Based on Near-infrared Hyperspectral Imaging. Appl. Eng. Agric. 2019, 35, 959–967. [Google Scholar] [CrossRef]
  44. Xu, M.; Sun, J.; Zhou, X.; Tang, N.; Shen, J.; Wu, X. Research on nondestructive identification of grape varieties based on EEMD-DWT and hyperspectral image. J. Food Sci. 2021, 86, 2011–2023. [Google Scholar] [CrossRef]
  45. Rodriguez-Pulido, F.J.; Hernandez-Hierro, J.M.; Nogales-Bueno, J.; Gordillo, B.; Gonzalez-Miret, M.L.; Heredia, F.J. A novel method for evaluating flavanols in grape seeds by near infrared hyperspectral imaging. Talanta 2014, 122, 145–150. [Google Scholar] [CrossRef]
  46. Zhao, Y.; Zhang, C.; Zhu, S.; Gao, P.; Feng, L.; He, Y. Non-Destructive and Rapid Variety Discrimination and Visualization of Single Grape Seed Using Near-Infrared Hyperspectral Imaging Technique and Multivariate Analysis. Molecules 2018, 23, 1352. [Google Scholar] [CrossRef]
  47. Rodríguez-Pulido, F.J.; Barbin, D.F.; Sun, D.-W.; Gordillo, B.; González-Miret, M.L.; Heredia, F.J. Grape seed characterization by NIR hyperspectral imaging. Postharvest Biol. Technol. 2013, 76, 74–82. [Google Scholar] [CrossRef]
  48. Quijada-Morin, N.; Garcia-Estevez, I.; Nogales-Bueno, J.; Rodriguez-Pulido, F.J.; Heredia, F.J.; Rivas-Gonzalo, J.C.; Escribano-Bailon, M.T.; Hernandez-Hierro, J.M. Trying to set up the flavanolic phases during grape seed ripening: A spectral and chemical approach. Talanta 2016, 160, 556–561. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  49. Kanchanomai, C.; Ohashi, S.; Naphrom, D.; Nemoto, W.; Maniwara, P.; Nakano, K. Non-destructive analysis of Japanese table grape qualities using near-infrared spectroscopy. Hortic. Environ. Biotechnol. 2020, 61, 725–733. [Google Scholar] [CrossRef]
  50. Ferrer-Gallego, R.; Hernandez-Hierro, J.M.; Rivas-Gonzalo, J.C.; Escribano-Bailon, M.T. A comparative study to distinguish the vineyard of origin by NIRS using entire grapes, skins and seeds. J. Sci. Food Agric. 2013, 93, 967–972. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  51. Xiao, H.; Feng, L.; Song, D.; Tu, K.; Peng, J.; Pan, L. Grading and Sorting of Grape Berries Using Visible-Near Infrared Spectroscopy on the Basis of Multiple Inner Quality Parameters. Sensors 2019, 19, 2600. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  52. Baca-Bocanegra, B.; Hernandez-Hierro, J.M.; Nogales-Bueno, J.; Heredia, F.J. Feasibility study on the use of a portable micro near infrared spectroscopy device for the “in vineyard” screening of extractable polyphenols in red grape skins. Talanta 2019, 192, 353–359. [Google Scholar] [CrossRef]
  53. Dos Santos Costa, D.; Oliveros Mesa, N.F.; Santos Freire, M.; Pereira Ramos, R.; Teruel Mederos, B.J. Development of predictive models for quality and maturation stage attributes of wine grapes using vis-nir reflectance spectroscopy. Postharvest Biol. Technol. 2019, 150, 166–178. [Google Scholar] [CrossRef]
  54. Xiao, H.; Li, A.; Li, M.; Sun, Y.; Tu, K.; Wang, S.; Pan, L. Quality assessment and discrimination of intact white and red grapes from Vitis vinifera L. at five ripening stages by visible and near-infrared spectroscopy. Sci. Hortic. 2018, 233, 99–107. [Google Scholar] [CrossRef]
  55. Ribera-Fonseca, A.; Noferini, M.; Jorquera-Fontena, E.; Rombolà, A.D. Assessment of technological maturity parameters and anthocyanins in berries of cv. Sangiovese (Vitis vinifera L.) by a portable vis/NIR device. Sci. Hortic. 2016, 209, 229–235. [Google Scholar] [CrossRef]
  56. González-Caballero, V.; Sánchez, M.-T.; Fernández-Novales, J.; López, M.-I.; Pérez-Marín, D. On-Vine Monitoring of Grape Ripening Using Near-Infrared Spectroscopy. Food Anal. Methods 2012, 5, 1377–1385. [Google Scholar] [CrossRef]
  57. Nogales-Bueno, J.; Rodriguez-Pulido, F.J.; Heredia, F.J.; Hernandez-Hierro, J.M. Comparative study on the use of anthocyanin profile, color image analysis and near-infrared hyperspectral imaging as tools to discriminate between four autochthonous red grape cultivars from La Rioja (Spain). Talanta 2015, 131, 412–416. [Google Scholar] [CrossRef]
  58. Beghi, R.; Giovenzana, V.; Brancadoro, L.; Guidetti, R. Rapid evaluation of grape phytosanitary status directly at the check point station entering the winery by using visible/near infrared spectroscopy. J. Food Eng. 2017, 204, 46–54. [Google Scholar] [CrossRef]
  59. Kim, M.S.; Chao, K.; Chin, B.A.; Cho, B.-K.; Mohite, J.; Karale, Y.; Pappula, S.; Shabeer, T.P.A.; Sawant, S.D. Detection of pesticide (Cyantraniliprole) residue on grapes using hyperspectral sensing. In Proceedings of the Sensing for Agriculture and Food Quality and Safety IX, Anaheim, CA, USA, 13 April 2017. [Google Scholar]
  60. Ye, W.; Yan, T.; Zhang, C.; Duan, L.; Chen, W.; Song, H.; Zhang, Y.; Xu, W.; Gao, P. Detection of Pesticide Residue Level in Grape Using Hyperspectral Imaging with Machine Learning. Foods 2022, 11, 1609. [Google Scholar] [CrossRef] [PubMed]
  61. Boido, E.; Fariña, L.; Carrau, F.; Dellacassa, E.; Cozzolino, D. Characterization of Glycosylated Aroma Compounds in Tannat Grapes and Feasibility of the Near Infrared Spectroscopy Application for Their Prediction. Food Anal. Methods 2012, 6, 100–111. [Google Scholar] [CrossRef]
  62. Donis-González, I.R.; Valero, C.; Momin, M.A.; Kaur, A.; Slaughter, C.D. Performance Evaluation of Two Commercially Available Portable Spectrometers to Non-Invasively Determine Table Grape and Peach Quality Attributes. Agronomy 2020, 10, 148. [Google Scholar] [CrossRef] [Green Version]
  63. Yu, J.; Wang, H.; Sun, X.; Huang, W. Parameter optimization in soluble solid content prediction of entire bunches of grape based on near infrared spectroscopic technique. J. Food Meas. Charact. 2017, 11, 1676–1680. [Google Scholar] [CrossRef]
  64. Urraca, R.; Sanz-Garcia, A.; Tardaguila, J.; Diago, M.P. Estimation of total soluble solids in grape berries using a hand-held NIR spectrometer under field conditions. J. Sci. Food Agric. 2016, 96, 3007–3016. [Google Scholar] [CrossRef] [Green Version]
  65. Barnaba, F.E.; Bellincontro, A.; Mencarelli, F. Portable NIR-AOTF spectroscopy combined with winery FTIR spectroscopy for an easy, rapid, in-field monitoring of Sangiovese grape quality. J. Sci. Food Agric. 2014, 94, 1071–1077. [Google Scholar] [CrossRef]
  66. Fernandez-Novales, J.; Tardaguila, J.; Gutierrez, S.; Paz Diago, M. On-The-Go VIS + SW—NIR Spectroscopy as a Reliable Monitoring Tool for Grape Composition within the Vineyard. Molecules 2019, 24, 2795. [Google Scholar] [CrossRef] [Green Version]
  67. Fernandez-Novales, J.; Garde-Cerdan, T.; Tardaguila, J.; Gutierrez-Gamboa, G.; Perez-Alvarez, E.P.; Diago, M.P. Assessment of amino acids and total soluble solids in intact grape berries using contactless Vis and NIR spectroscopy during ripening. Talanta 2019, 199, 244–253. [Google Scholar] [CrossRef]
  68. Xiao, H.; Sun, K.; Sun, Y.; Wei, K.; Tu, K.; Pan, L. Comparison of Benchtop Fourier-Transform (FT) and Portable Grating Scanning Spectrometers for Determination of Total Soluble Solid Contents in Single Grape Berry (Vitis vinifera L.) and Calibration Transfer. Sensors 2017, 17, 2693. [Google Scholar] [CrossRef] [Green Version]
  69. Parpinello, G.P.; Nunziatini, G.; Rombolà, A.D.; Gottardi, F.; Versari, A. Relationship between sensory and NIR spectroscopy in consumer preference of table grape (cv Italia). Postharvest Biol. Technol. 2013, 83, 47–53. [Google Scholar] [CrossRef]
  70. Basile, T.; Marsico, A.D.; Cardone, M.F.; Antonacci, D.; Perniola, R. FT-NIR Analysis of Intact Table Grape Berries to Understand Consumer Preference Driving Factors. Foods 2020, 9, 98. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  71. Daniels, A.J.; Poblete-Echeverria, C.; Opara, U.L.; Nieuwoudt, H.H. Measuring Internal Maturity Parameters Contactless on Intact Table Grape Bunches Using NIR Spectroscopy. Front. Plant Sci. 2019, 10, 1517. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  72. Ferrer-Gallego, R.; Hernández-Hierro, J.M.; Rivas-Gonzalo, J.C.; Escribano-Bailón, M.T. Evaluation of sensory parameters of grapes using near infrared spectroscopy. J. Food Eng. 2013, 118, 333–339. [Google Scholar] [CrossRef]
  73. Beghi, R.; Giovenzana, V.; Marai, S.; Guidetti, R. Rapid monitoring of grape withering using visible near-infrared spectroscopy. J. Sci. Food Agric. 2015, 95, 3144–3149. [Google Scholar] [CrossRef]
  74. Fernandes, A.M.; Oliveira, P.; Moura, J.P.; Oliveira, A.A.; Falco, V.; Correia, M.J.; Melo-Pinto, P. Determination of anthocyanin concentration in whole grape skins using hyperspectral imaging and adaptive boosting neural networks. J. Food Eng. 2011, 105, 216–226. [Google Scholar] [CrossRef]
  75. Chen, S.; Zhang, F.; Ning, J.; Liu, X.; Zhang, Z.; Yang, S. Predicting the anthocyanin content of wine grapes by NIR hyperspectral imaging. Food Chem. 2015, 172, 788–793. [Google Scholar] [CrossRef]
  76. Silva, R.; Gomes, V.; Mendes-Faia, A.; Melo-Pinto, P. Using Support Vector Regression and Hyperspectral Imaging for the Prediction of Oenological Parameters on Different Vintages and Varieties of Wine Grape Berries. Remote Sens. 2018, 10, 312. [Google Scholar] [CrossRef] [Green Version]
  77. Nogales-Bueno, J.; Baca-Bocanegra, B.; Rodriguez-Pulido, F.J.; Heredia, F.J.; Hernandez-Hierro, J.M. Use of near infrared hyperspectral tools for the screening of extractable polyphenols in red grape skins. Food Chem. 2015, 172, 559–564. [Google Scholar] [CrossRef]
  78. Gutiérrez, S.; Tardaguila, J.; Fernández-Novales, J.; Diago, M.P. On-the-go hyperspectral imaging for the in-field estimation of grape berry soluble solids and anthocyanin concentration. Aust. J. Grape Wine Res. 2019, 25, 127–133. [Google Scholar] [CrossRef] [Green Version]
  79. Benelli, A.; Cevoli, C.; Ragni, L.; Fabbri, A. In-field and non-destructive monitoring of grapes maturity by hyperspectral imaging. Biosyst. Eng. 2021, 207, 59–67. [Google Scholar] [CrossRef]
  80. Xu, M.; Sun, J.; Yao, K.; Wu, X.; Shen, J.; Cao, Y.; Zhou, X. Nondestructive detection of total soluble solids in grapes using VMD-RC and hyperspectral imaging. J. Food Sci. 2022, 87, 326–338. [Google Scholar] [CrossRef] [PubMed]
  81. Benelli, A.; Cevoli, C.; Fabbri, A. In-field Vis/NIR hyperspectral imaging to measure soluble solids content of wine grape berries during ripening. In Proceedings of the 2020 IEEE International Workshop on Metrology for Agriculture and Forestry (MetroAgriFor), Trento, Italy, 4–6 November 2020. [Google Scholar] [CrossRef]
  82. Fernández-Novales, J.; Barrio, I.; Diago, M.P. Non-Invasive Monitoring of Berry Ripening Using On-the-Go Hyperspectral Imaging in the Vineyard. Agronomy 2021, 11, 2534. [Google Scholar] [CrossRef]
  83. Gabrielli, M.; Lançon-Verdier, V.; Picouet, P.; Maury, C. Hyperspectral Imaging to Characterize Table Grapes. Chemosensors 2021, 9, 71. [Google Scholar] [CrossRef]
  84. Gomes, V.; Reis, M.S.; Rovira-Más, F.; Mendes-Ferreira, A.; Melo-Pinto, P. Prediction of Sugar Content in Port Wine Vintage Grapes Using Machine Learning and Hyperspectral Imaging. Processes 2021, 9, 1241. [Google Scholar] [CrossRef]
  85. Gomes, V.M.; Fernandes, A.M.; Faia, A.; Melo-Pinto, P. Comparison of different approaches for the prediction of sugar content in new vintages of whole Port wine grape berries using hyperspectral imaging. Comput. Electron. Agric. 2017, 140, 244–254. [Google Scholar] [CrossRef]
  86. Gomes, V.M.; Fernandes, A.M.; Faia, A.; Melo-Pinto, P. Determination of sugar content in whole Port Wine grape berries combining hyperspectral imaging with neural networks methodologies. In Proceedings of the 2014 IEEE Symposium on Computational Intelligence for Engineering Solutions (CIES), Orlando, FL, USA, 9–12 December 2014. [Google Scholar] [CrossRef]
  87. Fernandes, A.M.; Franco, C.; Mendes-Ferreira, A.; Mendes-Faia, A.; Costa, P.L.d.; Melo-Pinto, P. Brix, pH and anthocyanin content determination in whole Port wine grape berries by hyperspectral imaging and neural networks. Comput. Electron. Agric. 2015, 115, 88–96. [Google Scholar] [CrossRef]
  88. Gomes, V.; Fernandes, A.; Martins-Lopes, P.; Pereira, L.; Mendes Faia, A.; Melo-Pinto, P. Characterization of neural network generalization in the determination of pH and anthocyanin content of wine grape in new vintages and varieties. Food Chem. 2017, 218, 40–46. [Google Scholar] [CrossRef]
  89. Nogales-Bueno, J.; Hernandez-Hierro, J.M.; Rodriguez-Pulido, F.J.; Heredia, F.J. Determination of technological maturity of grapes and total phenolic compounds of grape skins in red and white cultivars during ripening by near infrared hyperspectral image: A preliminary approach. Food Chem. 2014, 152, 586–591. [Google Scholar] [CrossRef]
  90. Gao, S.; Xu, J.-h. Hyperspectral image information fusion-based detection of soluble solids content in red globe grapes. Comput. Electron. Agric. 2022, 196, 106822. [Google Scholar] [CrossRef]
  91. Baiano, A.; Terracone, C.; Peri, G.; Romaniello, R. Application of hyperspectral imaging for prediction of physico-chemical and sensory characteristics of table grapes. Comput. Electron. Agric. 2012, 87, 142–151. [Google Scholar] [CrossRef]
  92. Xu, M.; Sun, J.; Yao, K.; Cai, Q.; Shen, J.; Tian, Y.; Zhou, X. Developing deep learning based regression approaches for prediction of firmness and pH in Kyoho grape using Vis/NIR hyperspectral imaging. Infrared Phys. Technol. 2022, 120, 104003. [Google Scholar] [CrossRef]
  93. Le Moigne, M.; Maury, C.; Bertrand, D.; Jourjon, F. Sensory and instrumental characterisation of Cabernet Franc grapes according to ripening stages and growing location. Food Qual. Prefer. 2008, 19, 220–231. [Google Scholar] [CrossRef]
  94. Li, Q.; Li, G.; Zhang, J.; Yan, H.; Liu, W.; Min, S. A new strategy of applying modeling indicator determined method to high-level fusion for quantitative analysis. Spectrochim. Acta A Mol. Biomol. Spectrosc. 2019, 219, 274–280. [Google Scholar] [CrossRef] [PubMed]
  95. Sun, F.; Diao, Z.; Li, Y. Research on Data Fusion Method Based on Multisource Data Awareness of Internet of Things. J. Sens. 2022, 2022, 1–10. [Google Scholar] [CrossRef]
  96. Orlandi, G.; Calvini, R.; Foca, G.; Pigani, L.; Vasile Simone, G.; Ulrici, A. Data fusion of electronic eye and electronic tongue signals to monitor grape ripening. Talanta 2019, 195, 181–189. [Google Scholar] [CrossRef]
  97. Ghamisi, P.; Rasti, B.; Yokoya, N.; Wang, Q.M.; Hofle, B.; Bruzzone, L.; Bovolo, F.; Chi, M.M.; Anders, K.; Gloaguen, R.; et al. Multisource and Multitemporal Data Fusion in Remote Sensing. IEEE Geosci. Remote Sens. Mag. 2019, 7, 6–39. [Google Scholar] [CrossRef]
  98. Robert, C.; Jessep, W.; Sutton, J.J.; Hicks, T.M.; Loeffen, M.; Farouk, M.; Ward, J.F.; Bain, W.E.; Craigie, C.R.; Fraser-Miller, S.J.; et al. Evaluating low- mid- and high-level fusion strategies for combining Raman and infrared spectroscopy for quality assessment of red meat. Food Chem. 2021, 361, 130154. [Google Scholar] [CrossRef]
  99. Xu, Z.; Cheng, W.; Fan, S.; Liu, J.; Wang, H.; Li, X.; Liu, B.; Wu, Y.; Zhang, P.; Wang, Q. Data fusion of near-infrared diffuse reflectance spectra and transmittance spectra for the accurate determination of rice flour constituents. Anal. Chim. Acta 2022, 1193, 339384. [Google Scholar] [CrossRef]
  100. Xiao, Q.; Bai, X.; Gao, P.; He, Y. Application of Convolutional Neural Network-Based Feature Extraction and Data Fusion for Geographical Origin Identification of Radix Astragali by Visible/Short-Wave Near-Infrared and Near Infrared Hyperspectral Imaging. Sensors 2020, 20, 4940. [Google Scholar] [CrossRef]
  101. Wang, Q.Q.; Huang, H.Y.; Wang, Y.Z. Geographical Authentication of Macrohyporia cocos by a Data Fusion Method Combining Ultra-Fast Liquid Chromatography and Fourier Transform Infrared Spectroscopy. Molecules 2019, 24, 1320. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  102. Yang, R.; Lu, X.; Huang, J.; Zhou, J.; Jiao, J.; Liu, Y.; Liu, F.; Su, B.; Gu, P. A Multi-Source Data Fusion Decision-Making Method for Disease and Pest Detection of Grape Foliage Based on ShuffleNet V2. Remote Sens. 2021, 13, 5102. [Google Scholar] [CrossRef]
  103. Su, Z.; Zhang, C.; Yan, T.; Zhu, J.; Zeng, Y.; Lu, X.; Gao, P.; Feng, L.; He, L.; Fan, L. Application of Hyperspectral Imaging for Maturity and Soluble Solids Content Determination of Strawberry With Deep Learning Approaches. Front. Plant Sci. 2021, 12, 736334. [Google Scholar] [CrossRef] [PubMed]
  104. Wang, D.; Feng, Z.; Ji, S.; Cui, D. Simultaneous prediction of peach firmness and weight using vibration spectra combined with one-dimensional convolutional neural network. Comput. Electron. Agric. 2022, 201, 107341. [Google Scholar] [CrossRef]
  105. Mansuri, S.M.; Chakraborty, S.K.; Mahanti, N.K.; Pandiselvam, R. Effect of germ orientation during Vis-NIR hyperspectral imaging for the detection of fungal contamination in maize kernel using PLS-DA, ANN and 1D-CNN modelling. Food Control 2022, 139, 109077. [Google Scholar] [CrossRef]
  106. Yan, T.; Xu, W.; Lin, J.; Duan, L.; Gao, P.; Zhang, C.; Lv, X. Combining Multi-Dimensional Convolutional Neural Network (CNN) With Visualization Method for Detection of Aphis gossypii Glover Infection in Cotton Leaves Using Hyperspectral Imaging. Front. Plant Sci. 2021, 12, 604510. [Google Scholar] [CrossRef]
  107. Li, H.; Zhang, L.; Sun, H.; Rao, Z.; Ji, H. Discrimination of unsound wheat kernels based on deep convolutional generative adversarial network and near-infrared hyperspectral imaging technology. Spectrochim. Acta A Mol. Biomol. Spectrosc. 2022, 268, 120722. [Google Scholar] [CrossRef]
  108. Sarker, I.H. Deep Learning: A Comprehensive Overview on Techniques, Taxonomy, Applications and Research Directions. SN Comput. Sci. 2021, 2, 420. [Google Scholar] [CrossRef]
  109. He, X.; Chen, Y.; Ghamisi, P. Heterogeneous Transfer Learning for Hyperspectral Image Classification Based on Convolutional Neural Network. IEEE Trans. Geosci. Remote Sens. 2020, 58, 3246–3263. [Google Scholar] [CrossRef]
  110. Chai, J.; Chang, J.; Zhao, Y.; Liu, H. An Auto-ML Framework Based on GBDT for Lifelong Learning. arXiv 2019, arXiv:1908.11033. [Google Scholar] [CrossRef]
Figure 1. The mainframe of the review.
Figure 1. The mainframe of the review.
Foods 12 00132 g001
Figure 2. Detection mode of obtaining data. (a) Diffuse reflectance. (b) Full transmittance. (c) Partial transmittance. (d) Interactance.
Figure 2. Detection mode of obtaining data. (a) Diffuse reflectance. (b) Full transmittance. (c) Partial transmittance. (d) Interactance.
Foods 12 00132 g002
Figure 3. Data processing process of NIRS and HSI.
Figure 3. Data processing process of NIRS and HSI.
Foods 12 00132 g003
Table 1. Summary of the difference and connection between the NIRS and HSI systems.
Table 1. Summary of the difference and connection between the NIRS and HSI systems.
Tech 1DifferenceConnection
InstrumentDataApplicationData Process
NIRSLower cost;
portables
SpectraEvaluate chemical parameters; on-lining inspection,Rely on ML 2, chemo-metric model
HSIHigher cost;
ponderous
Spectra and imageEvaluate chemical and physical parameters; visualize map, Poor robustness and adaptability;
difficulty in valid information mining
1 Tech means NIRS and HSI techniques. 2 ML means machine learning.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Ye, W.; Xu, W.; Yan, T.; Yan, J.; Gao, P.; Zhang, C. Application of Near-Infrared Spectroscopy and Hyperspectral Imaging Combined with Machine Learning Algorithms for Quality Inspection of Grape: A Review. Foods 2023, 12, 132. https://doi.org/10.3390/foods12010132

AMA Style

Ye W, Xu W, Yan T, Yan J, Gao P, Zhang C. Application of Near-Infrared Spectroscopy and Hyperspectral Imaging Combined with Machine Learning Algorithms for Quality Inspection of Grape: A Review. Foods. 2023; 12(1):132. https://doi.org/10.3390/foods12010132

Chicago/Turabian Style

Ye, Weixin, Wei Xu, Tianying Yan, Jingkun Yan, Pan Gao, and Chu Zhang. 2023. "Application of Near-Infrared Spectroscopy and Hyperspectral Imaging Combined with Machine Learning Algorithms for Quality Inspection of Grape: A Review" Foods 12, no. 1: 132. https://doi.org/10.3390/foods12010132

APA Style

Ye, W., Xu, W., Yan, T., Yan, J., Gao, P., & Zhang, C. (2023). Application of Near-Infrared Spectroscopy and Hyperspectral Imaging Combined with Machine Learning Algorithms for Quality Inspection of Grape: A Review. Foods, 12(1), 132. https://doi.org/10.3390/foods12010132

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop