Abstract

Watermelon seeds are a significant source of nutrition in the diet. To assess the potential of near-infrared hyperspectral imaging technology for swift and nondestructive identification of watermelon seed varieties, near-infrared hyperspectral imaging (NIR-HSI) technology was used. The Savitzky–Golay (SG) smoothing algorithm and standard normal variable (SNV) algorithm were combined to preprocess the extracted spectral data. The successive projections algorithm (SPA) was used to reduce the dimensionality of the spectral data. Subsequently, three deep learning models (LeNet, GoogLeNet, and ResNet) were used to classify 10 common watermelon seeds. SPA was used to reduce the dimensionality of hyperspectral data. In terms of full band, the ResNet model achieved a classification accuracy of 86.77% on the test set. By using characteristic bands, the GoogLeNet model achieved a classification accuracy of 83.85% on the test set. The ensemble fusion model based on a scoring mechanism achieved accuracy rates of 99.56%, 90.88%, and 87.97% on the training, validation, and test sets, respectively. The results indicated that the ensemble fusion model based on a scoring mechanism can enhance accuracy. Combining deep learning with NIR-HSI can effectively distinguish different varieties of watermelon seeds.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.