Cotton Leaf Spot Detection Based on an Improved YOLOv11n Model
Yaxin Xie, Mingyu Zhang, Yonghua Han, Le Dai, Haifeng Fu, Lu XuIn cotton disease detection, the complex farmland environment and the varying scales of disease spots, especially the presence of small-target disease spots, limit the detection accuracy of lightweight models. To address this issue, an improved YOLOv11n detection algorithm is proposed. First, the backbone network is reconstructed using the GhostConv (G-conv) module, which generates redundant feature maps through linear operations, thereby reducing computational complexity. Second, an Adaptive Calibration and Feature Fusion Architecture Head (ACFFA) with prior calibration and cross-scale fusion capabilities is constructed in the detection stage to handle the problem of varying disease spot scales. Furthermore, the Adaptive Scale-aware Wise Intersection over Union (AS-WIoU) loss function, improved from WIoUv3, is introduced to enhance the stability of bounding box regression and improve detection accuracy for low-resolution, small-target lesions. Experimental results show that on the cotton disease dataset constructed based on the Mendeley Data database, the proposed model achieves mAP50 and mAP50-95 of 90.30% and 73.84%, respectively, with precision and recall of 92.33% and 87.68%, and a parameter count of 3.81 M. The algorithm significantly improves detection accuracy while maintaining efficient inference, making it suitable for real-time monitoring tasks on agricultural embedded terminals.