A rice
disease and
insect pest identification method based on an
encoder and a decoder comprises the following steps: step 1, shooting a leaf spectrum image of rice in a field through a hyperspectral camera carried by an unmanned aerial vehicle, and establishing a sample
data set of rice
disease and
insect pests; 2, standardizing, zooming,
cutting and the like are carried out on the input rice leaf image; step 3, establishing an
encoder network of rice diseases and
insect pests; step 4, establishing a decoder network of rice diseases and insect pests; and step 5, deploying the trained decoder and
encoder model in practical application, and carrying out real-time identification on rice diseases and insect pests. According to the method, rich feature information can be extracted from the
spectral image, accurate classification is carried out through the
deep learning model, the recognition accuracy is far higher than that of a traditional method, real-time monitoring of diseases and insect pests can be achieved, problems can be found in time, measures are taken, and losses are reduced.