Abstract:Aiming to achieve fast and accurate identification of pests and diseases of Plantago asiatica L. in natural environments, a dataset comprising 2290 images of four common diseases—insect pest, powdery mildew, leaf spot, and mosaic disease—was constructed, and a recognition method for pests and diseases of Plantago asiatica L. based on YOLO v8n-Plantago was proposed. The lightweight MobileNetV3 was utilized to replace the original model’s Backbone, ensuring the network remained lightweight while enhancing response speed. The VoV-GSCSP feature network was applied in the Neck part of the model to replace the C2f modules in layers 15, 18 and 21, which can retain more feature information while processing the feature map more efficiently. The RepVGG module was introduced in the Head of the network to accelerate inference speed and reduce memory footprint, further improving model accuracy for rapid and accurate recognition of Plantago asiatica L. pests and diseases. Validation on the self-built dataset of pest and disease of Plantago asiatica L. showed that YOLO v8n-Plantago achieved mAP@0.5 of 89.43% for identifying Plantago asiatica L. pests and diseases, an increase of 2.04 percentage points compared with that of the YOLO v8n model, with FLOPs reduced by 61.43%, model memory usage decreased by 3.53%, and parameter count reduced by 7.31%. When deployed on an edge device, inference speed was increased by 33.26%, and processing speed was increased by 8.08%. The proposed YOLO v8n-Plantago model effectively facilitated the detection of Plantago asiatica L. pests and diseases, laying a foundation for developing automatic identification and precise spraying devices for Plantago asiatica L. pests and diseases.