• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

Computer Engineering & Science ›› 2026, Vol. 48 ›› Issue (3): 434-443.

• Graphics and Images • Previous Articles     Next Articles

An improved YOLOv8-based model for crop and pigweed detection:MES-YOLO

WEN Tao,WANG Tianyi,HUANG Shirui,ZHOU Jianglong   

  1. (College of Big Data and Information Engineering,Guizhou University,Guiyang 550025,China)
  • Received:2024-06-21 Revised:2024-08-29 Online:2026-03-25 Published:2026-03-25

Abstract: With the rapid development of modern agricultural technology, the precise management of crops and the effective control of weeds have become particularly important. Aiming at pigweed, a common weed that affects crop growth, an improved lightweight crop and pigweed detection algorithm based on YOLOv8, called MES-YOLO, is proposed. Firstly, MS-Block module and C2f module are fused and applied to the backbone network of the model by heterogeneous convolution, so as to improve the accuracy and efficiency of the overall target detection. Secondly, the feature pyramid structure HSFPN is improved to ELA-HSFPN and applied to the feature fusion network of the model to enhance the ability of the model to express the target features. Finally, the Inner-SIoU loss function is used to accelerate the convergence of the model. Experimental results demonstrate that, compared to YOLOv8n, the MES-YOLO detection algorithm achieves  2.1 percentage points  improvement in the mAP@0.5 metric, reduces computational complexity from 8.2×109 to 6.5×109, and has a parameter count that is only 62% of that of the YOLOv8n model. The improved model is more suitable for low-computational-power environments while meeting high-precision deployment requirements. 

Key words: deep learning, weed identification, heterogeneous convolution, feature pyramid structure, loss function