Affiliation:
1. School of Information Engineering, Huzhou University, Huzhou 313000, China
2. Huzhou Agricultural Science and Technology Development Center, Huzhou 313000, China
3. School of Artificial Intelligence, Hangzhou Dianzi University, Hangzhou 310018, China
Abstract
Cherry tomatoes are cultivated worldwide and favored by consumers of different ages. The soluble solid content (SSC) and pH are two of the most important quality attributes of cherry tomatoes. The rapid and non-destructive measurement of the SSC and pH of cherry tomatoes is of great significance to their production and consumption. In this research, hyperspectral imaging combined with a convolutional neural network with Transformer (CNN-Transformer) was utilized to analyze the SSC and pH of cherry tomatoes. Conventional machine learning and deep learning models were established for the determination of the SSC and pH. The findings demonstrated that CNN-Transformer yielded outstanding results in predicting the SSC, with the coefficient of determination of calibration (R2C), validation (R2V), and prediction (R2P) for the SSC being 0.83, 0.87, and 0.83, respectively. Relatively worse results were obtained for the pH value prediction, with R2C, R2V, and R2P values of 0.74, 0.68, and 0.60, respectively. Furthermore, the visualization of the CNN-Transformer model revealed the wavelength weight distributions, indicating that the 1380–1650 nm range served as the characteristic band for the SSC, while the spectral range at 945–1280 nm was the characteristic band for pH. In conclusion, integrating spectral information features with the attention mechanism of Transformer through a convolutional neural network can enhance the accuracy of predicting the SSC and pH for cherry tomatoes.
Funder
Postgraduate Research and Innovation Project of Huzhou University
Zhejiang Province Key Laboratory of Smart Management and Application of Modern Agricultural Resources
Huzhou Key R&D Program
Reference34 articles.
1. Tomato-a natural medicine and its health benefits;Kumar;J. Pharmacogn. Phytochem.,2012
2. Li, J., Xiang, Z., Wang, X., Guo, Y.M., Huang, Z., Liu, L., Li, X., and Du, Y. (2021). Current situation and prospect of tomato industry in China during the 13th Five-Year Plan. Chin. Veg., 13–20.
3. SeeFruits: Design and evaluation of a cloud-based ultra-portable NIRS system for sweet cherry quality detection;Wang;Comput. Electron. Agric.,2018
4. Quality inspection of nectarine based on hyperspectral imaging technology;Huang;Syst. Sci. Control Eng.,2021
5. Hyperspectral image classification using CNN: Application to industrial food packaging;Medus;Food Control,2021
Cited by
2 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献