A Real-Time Cotton Boll Disease Detection Model Based on Enhanced YOLOv11n
Source abstract
Abstract
Existing methods for detecting cotton boll diseases frequently exhibit high rates of both false negatives and false positives under complex field conditions (e.g., lighting variations, shadows, and occlusions) and struggle to achieve real-time performance on edge devices. To address these limitations, this study proposes an enhanced YOLOv11n model (YOLOv11n-ECS) for improved detection accuracy. A dataset of cotton boll diseases under different lighting conditions and shooting angles in the field was constructed. To mitigate false negatives and false positives encountered by the original YOLOv11n model during detection, the EMA (efficient multi-scale attention) mechanism is introduced to enhance the weights of important features and suppress irrelevant regions, thereby improving the detection accuracy of the model. Partial Convolution (PConv) is incorporated into the C3k2 module to reduce computational redundancy and lower the model’s computational complexity while maintaining high recognition accuracy. Furthermore, to enhance the localization accuracy of diseased bolls, the original CIoU loss is replaced with Shape-IoU. The improved model achieves floating point operations (FLOPs), parameter count, and model size at 96.8%, 96%, and 96.3% of the original YOLOv11n model, respectively. The improved model achieves an mAP@0.5 of 85.6% and an mAP@0.5:0.95 of 62.7%, representing improvements of 2.3 and 1.9 percentage points, respectively, over the baseline YOLOv11n model. Compared with CenterNet, Faster R-CNN, YOLOv8-LSW, MSA-DETR, DMN-YOLO, and YOLOv11n, the improved model shows mAP@0.5 improvements of 25.7, 21.2, 5.5, 4.0, 4.5, and 2.3 percentage points, respectively, along with corresponding mAP@0.5:0.95 increases of 25.6, 25.3, 8.3, 2.8, 1.8, and 1.9 percentage points. Deployed on a Jetson TX2 development board, the model achieves a recognition speed of 56 frames per second (FPS) and an mAP of 84.2%, confirming its suitability for real-time detection. Furthermore, the improved model effectively reduces instances of both false negatives and false positives for diseased cotton bolls while yielding higher detection confidence, thus providing robust technical support for intelligent cotton boll disease detection.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Smart Agriculture and AI · Industrial Vision Systems and Defect Detection · Research in Cotton Cultivation
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
School of Agricultural Engineering and Food Science, Shandong University of Technology, Zibo 255000, China
Shandong Province Smart Farm Technology International Cooperation Joint Laboratory, Zibo 255000, China
Institute of Modern Agricultural Equipment, Zibo 255000, China
Australian Institute for Machine Learning (AIML), University of Adelaide, Adelaide, SA 5000, Australia
References (33)
Show source-provided references
1. Cotton production pattern and contribution factors in Xinjiang from 1988 to 2020
2. Cotton boll rot occurrence, analysis of varietal resistance and pathogenicity differentiation of the major pathogen
3. Review of key techniques for crop disease and pest detection
4. Method for identifying tea diseases in natural environment using improved YOLOv5s
5. Kinger, S., Tagalpallewar, A., George, R.R., Hambarde, K., and Sonawane, P. (2022, January 13–15). Deep learning based cotton leaf disease detection. Proceedings of the 2022 International Conference on Trends in Quantum Computing and Emerging Business Technologies (TQCEBT), Pune, India.10.1109/TQCEBT54229.2022.10041630 ↗
6. Detection of wheat scab spores in dense scene based on YOLOv8-FECA
7. Identifying tomato leaf diseases and pests using lightweight improved YOLOv8n and channel pruning
8. MD-YOLO: Multi-scale Dense YOLO for small target pest detection10.1016/j.compag.2023.108233 ↗
9. Evaluation of impact of image augmentation techniques on two tasks: Window detection and window states detection10.1016/j.rineng.2024.103571 ↗
10. Wei, J., Ni, L., Luo, L., Chen, M., You, M., Sun, Y., and Hu, T. (2024). GFS-YOLO11: A Maturity Detection Model for Multi-Variety Tomato. Agronomy, 14.10.3390/agronomy14112644 ↗
11. Spatial pyramid pooling in deep convolutional networks for visual recognition10.1109/TPAMI.2015.2389824 ↗
12. Ouyang, D., He, S., Zhang, G., Luo, M., Guo, H., Zhan, J., and Huang, Z. (2023, January 4–10). Efficient multi-scale attention module with cross-spatial learning. Proceedings of the ICASSP 2023—2023 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Rhodes Island, Greece.10.1109/ICASSP49357.2023.10096516 ↗
13. Soft X-ray image recognition and classification of maize seed cracks based on image enhancement and optimized YOLOv8 model10.1016/j.compag.2023.108475 ↗
14. Chen, J., Kao, S.-h., He, H., Zhuo, W., Song, W., Chul-Ho, L., Gary, S.-H., and Run, C. (2023, January 17–20). Don’t walk: Chasing higher FLOPS for faster neural networks. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Vancouver, BC, Canada.10.1109/CVPR52729.2023.01157 ↗
15. Detection of small foreign objects in Pu-erh sun-dried green tea: An enhanced YOLOv8 neural network model based on deep learning10.1016/j.foodcont.2024.110890 ↗
16. Zhang, H., and Zhang, S. (2023). Shape-iou: More accurate metric considering bounding box shape and scale. arXiv.
17. SDS-YOLO: An improved vibratory position detection algorithm based on YOLOv1110.1016/j.measurement.2024.116518 ↗
18. Hu, J., Shen, L., and Sun, G. (2018, January 18–23). Squeeze-and-excitation networks. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA.10.1109/CVPR.2018.00745 ↗
19. Hou, Q., Zhou, D., and Feng, J. (2021, January 20–25). Coordinate attention for efficient mobile network design. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Nashville, TN, USA.10.1109/CVPR46437.2021.01350 ↗
20. Wang, Q., Wu, B., Zhu, P., Li, P., Zuo, W., and Hu, Q. (2020, January 13–19). ECA-Net: Efficient channel attention for deep convolutional neural networks. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA.10.1109/CVPR42600.2020.01155 ↗
21. Liu, Y., Shao, Z., and Hoffmann, N. (2021). Global attention mechanism: Retain information to enhance channel-spatial interactions. arXiv.
22. Tan, M., and Le, Q. (2021). Efficientnetv2: Smaller models and faster training. arXiv.
23. Qin, D., Leichner, C., Delakis, M., Fornoni, M., Luo, S., Yang, F., Wang, W., Banbury, C., Ye, C., and Akin, B. (2023). Mobilenetv4-universal models for the mobile ecosystem. arXiv.10.1007/978-3-031-73661-2_5 ↗
24. EIoU: An improved vehicle detection algorithm based on vehiclenet neural network10.1088/1742-6596/1924/1/012001 ↗
25. Improved YOLOv8n object detection of fragrant pears
26. Girshick, R. (2015, January 7–13). Fast r-cnn. Proceedings of the IEEE International Conference on Computer Vision, Santiago, Chile.10.1109/ICCV.2015.169 ↗
27. Kang, H., Zhou, F., Gao, S., and Xu, Q. (2024). Crack detection of concrete based on improved CenterNet model. Appl. Sci., 14.10.20944/preprints202401.1887.v1 ↗
28. Grape leaf disease detection method based on improved RT-DETR
29. Liu, S., Xu, H., Deng, Y., Cai, Y., Wu, Y., Zhong, X., Zheng, J., Lin, Z., Ruan, M., and Chen, J. (2025). YOLOv8-LSW: A Lightweight Bitter Melon Leaf Disease Detection Model. Agriculture, 15.10.3390/agriculture15121281 ↗
30. Gao, L., Cao, H., Zou, H., and Wu, H. (2025). DMN-YOLO: A Robust YOLOv11 Model for Detecting Apple Leaf Diseases in Complex Field Conditions. Agriculture, 15.10.3390/agriculture15111138 ↗
31. Detecting Cistanche deserticola using YOLOv5s-ESTC
32. Detecting rice diseases using improved lightweight YOLOv8n
33. Fan, Y., Zhang, S., Feng, K., Qian, K., Wang, Y., and Qin, S. (2022). Strawberry maturity recognition algorithm combining dark channel enhancement and YOLOv5. Sensors, 22.10.3390/s22020419 ↗