Maize Seed Variety Classification Based on Hyperspectral Imaging and a CNN-LSTM Learning Framework
Qingzhen Zhu, Quancheng Liu, Dandan Ma, Yanqiu Zhu, Liyuan Zhang, Aichen Wang, Shuxiang Fan
Abstract
Maize seed variety classification has become essential in agriculture, driven by advancements in non-destructive sensing and machine learning techniques. This study introduced an efficient method for maize variety identification by combining hyperspectral imaging with a framework that integrates Convolutional Neural Networks (CNNs) and Long Short-Term Memory (LSTM) networks. Spectral data were acquired by hyperspectral imaging technology from five maize varieties and processed using Savitzky–Golay (SG) smoothing, along with standard normal variate (SNV) preprocessing. To enhance feature selection, the competitive adaptive reweighted sampling (CARS) algorithm was applied to reduce redundant information, identifying 100 key wavelengths from an initial set of 774. This method successfully minimized data dimensionality, reduced variable collinearity, and boosted the model’s stability and computational efficiency. A CNN-LSTM model, built on the selected wavelengths, achieved an accuracy of 95.27% in maize variety classification, outperforming traditional chemometric models like partial least squares discriminant analysis, support vector machines, and extreme learning machines. These results showed that the CNN-LSTM model excelled in extracting complex spectral features and offering strong generalization and classification capabilities. Therefore, the model proposed in this study served as an effective tool for maize variety identification.