The invention discloses a fresh jujube
wormhole detection method based on a hyperspectral image
convolutional neural network, and the method employs a
convolutional neural network model which can be used for the detection of fresh jujube wormholes for detection, and the construction method of the
convolutional neural network model comprises the following steps: S1, collecting the data of a hyperspectral image of a sample; S2, extracting an optimal characteristic
wavelength; S3, performing data preprocessing; S4, training a convolutional neural
network model by using the training sample set; and S5, performing classification
verification on the
data set by using the model. According to the fresh jujube
wormhole detection method based on the hyperspectral image convolutional neural network, the detection of the fresh jujube
wormhole can be realized without manual intervention by
processing the hyperspectral image data under the selected characteristic
wavelength, the detection precision of the
network model on the fresh jujube wormhole is improved. The method solves the problem of misjudgment caused by interference of color blocks, spots, fruit stems and the like on the surfaces of the fresh jujubes in the existing
computer vision detection process of the fresh jujubes, and has the characteristics of simplicity, feasibility and high recognition efficiency.