Abstract:Aiming to achieve rapid and non-destructive detection of nitrite content in Tatsoi (Brassica rapa subsp.narinosa), a high-precision quantitative detection method was proposed based on hyperspectral imaging and deep learning.Four groups of different light intensities were set up in a growth chamber, with 50 Tatsoi plants placed in each group.Leaf samples of Tatsoi under different light intensity environments were collected, and 200 leaf slices per group were used as the experimental dataset.Hyperspectral images of the leaf samples were acquired by using a hyperspectral imaging device to predict their nitrite content.The average spectral information was extracted by processing the images through region of interest (ROI) selection and threshold segmentation.Various preprocessing methods were employed to construct prediction models on the spectral data, and their performances were compared.Wavelet transform denoising (WTD) was identified as the optimal preprocessing method.The preprocessed spectral data using WTD were further analyzed.Four traditional dimensionality reduction methods were applied to reduce the dimensionality of the optimal preprocessed spectral data.Support vector regression (SVR) models were established on the reduced data, and further analysis was conducted by using SVR models incorporating deep features extracted by a one-dimensional convolutional neural network (1D-CNN) integrated with a squeeze-and-excitation (SE) attention block.The results demonstrated that the SVR model based on deep features extracted by 1D-CNN-SE achieved superior predictive performance for nitrite content in Tatsoi leaves under different light intensity environments.On the test set, the coefficient of determination (R2p), root mean square error of prediction (RMSEP), and residual predictive deviation (RPD) were 0.8849, 0.07381 μmol/g, and 2.7631, respectively.These findings indicated that the WTD-1D-CNN-SE-SVR model established under light intensity conditions exhibited favorable performance.The combination of deep learning methods with hyperspectral imaging non-destructive detection technology can effectively achieve non-destructive detection of nitrite toxicity in Tatsoi leaves, providing technical support for non-destructive detection of inorganic toxin stress in leafy vegetables.