The invention relates to the technical field of
crop disease identification, in particular to a corn
disease detection method for a
mobile phone mobile terminal based on
deep learning. Comprising the following steps: acquiring a corn
disease image by using a camera, and preprocessing the image; the method comprises the following steps: improving a
network structure of YOLOv5 through depth separable
convolution, RFB-s, an up-sampling operator and an attention mechanism, and training an improved
network model by using a
data set to obtain a weight model; deploying the whole trained weight model to a
mobile phone mobile terminal; and identifying the pictures shot by the
mobile phone on site or the disease pictures transmitted to the mobile phone. The operation amount of a
backbone network is effectively reduced through depth separable
convolution, the
receptive field is enlarged and improved by using RFB-s, and multi-scale context information is captured. And the coordinate attention mechanism endows the feature map with weight information in the xy direction and the y direction, so that the model precision is improved. And finally, an up-sampling operator is improved to improve the detection effect. According to the invention,
deep learning is applied to corn
disease detection, errors caused by manual subjective judgment are reduced, and the labor efficiency is improved; the running effect and the detection precision of the mobile terminal are improved by aiming at the optimization of the YOLOv5
backbone network; meanwhile, the problem that offline detection cannot be carried out in a network information limited area can be effectively solved through mobile phone mobile terminal deployment, and the use convenience is improved.