Abstract
The measurement of grape sugar content is an important index for classifying grapes based on their quality. Owing to the correlation between grape sugar content and appearance, non-destructive measurements are possible using computer vision and deep learning. This study investigates the quality classification of the Red Globe grape. The number of collected grapes in the range of the 15~16% measure is three times more than in the range of 18% measure. This study presents a framework named feature normalization reweighting regression (FNRR) to address this imbalanced distribution of sugar content of the grape datasets. The experimental results show that the FNRR framework can measure the sugar content of a whole bunch of grapes with high accuracy using typical convolution neural networks and a visual transformer model. Specifically, the visual transformer model achieved the best accuracy with a balanced loss function, with the coefficient of determination R = 0.9599 and the root mean squared error RMSE = 0.3841%. The results show that the effect of the visual transformer model is better than that of the convolutional neural network. The research findings also indicate that the visual transformer model based on the proposed framework can accurately predict the sugar content of grapes, non-destructive evaluation of grape quality, and could provide reference values for grape harvesting.
Funding Information
  • the Central Universities (2662022XXYJ006, 2662017PY059, 2662015PY066, 61176052, 61432007, SZYJY2021011)
  • The National Natural Science Foundation of China (2662022XXYJ006, 2662017PY059, 2662015PY066, 61176052, 61432007, SZYJY2021011)
  • the Cooperation funding of Huazhong Agricultural University-Shenzhen Institute of Agricultural Genomics, Chinese Academy of Agricultural Sciences (2662022XXYJ006, 2662017PY059, 2662015PY066, 61176052, 61432007, SZYJY2021011)

This publication has 14 references indexed in Scilit: