Abstract:Soybean anthracnose is caused by the pathogen Colletotrichum truncatum, and its conidia, the soybean anthracnose spores can spread rapidly with rain, seriously threatening soybean yield and quality.Spore detection is a critical foundation for early disease monitoring and precise control.To address issues such as the small target scale of soybean anthracnose spores, large number of parameters in existing detection models, high computational complexity, and difficulty of meeting edge device deployment requirements, a lightweight soybean anthracnose spore detection model, HAD-YOLO, was proposed based on the improved YOLO 11s.Firstly, the backbone network introduced the ADown downsampling module, using multi-path pooling and channel separation mechanisms to enhance edge and detail feature extraction of spores while reducing model complexity.Secondly, the neck network adopted the high-level screening feature pyramid network (HS-FPN) instead of the original PANet structure, strengthening multi-scale feature representation through channel compression and dynamic screening fusion mechanisms and improving the encoding and localisation capability for small spore targets.Additionally, the detection head was designed as a lightweight shared convolutional detection head (LSCD), further reducing model parameters and computational load through grouped convolution and weight-sharing strategies while maintaining spore localisation and classification performance under low-magnification microscopic scenarios.Finally, the bounding box regression loss function used WIOU v3 instead of complete intersection over union (CIoU), mitigating low-quality sample gradient interference through a dynamic focusing mechanism, enhancing model training stability and generalisation ability.Experimental results on a self-built dataset showed that the HAD-YOLO model achieved precision, recall, and mAP50 of 92.3%, 85.3%, and 90.9%, respectively, improving over the baseline model by 3.4, 3.0, and 4.1 percentage points, while reducing model parameters, computational complexity, and weight file size by 46.8%, 36.6%, and 46.4%, respectively.Deployment tests on the Raspberry Pi 4B platform showed an average inference time of 57.5ms per image, demonstrating favourable real-time detection capability.The research result indicated that this method achieved model lightweighting while ensuring detection precision, providing a methodological foundation for intelligent microscopic image detection and edge deployment of soybean anthracnose spores.