The invention discloses a tomato
leaf disease and
insect pest identification method, which comprises the following steps of: acquiring tomato leaf images in different planting environments by using a high-definition camera, performing data enhancement in
modes of random overturning, rotation,
brightness contrast adjustment,
Gaussian noise addition and the like after the tomato leaf images are labeled by agricultural experts, and normalizing the images; constructing a recognition model which is based on a lightweight
convolutional neural network such as MobileNetV3 and is fused with an SE attention mechanism module and an FPN multi-scale
feature fusion module; dividing the
data set into a
training set, a
verification set and a
test set according to 8: 1: 1, training a model by adopting an Adam optimizer, adjusting parameters according to the performance of the
verification set, evaluating the model by using the
test set, and optimizing according to a result; during actual application, images are collected in real time, preprocessed and input into the model for recognition, and pest and
disease type and position information are output and displayed for early warning. According to the method, the recognition accuracy rate exceeds 95%, the hardware requirement is reduced, the robustness and generalization ability are enhanced, real-time monitoring and early warning are achieved, and agricultural economic losses can be reduced.