MKD8: An Enhanced YOLOv8 Model for High-Precision Weed Detection
Weeds are an inevitable element in agricultural production, and their significant negative impacts on crop growth make weed detection a crucial task in precision agriculture. The diversity of weed species and the substantial background noise in weed images pose considerable challenges for weed detection. To address these challenges, constructing a high-quality dataset and designing an effective artificial intelligence model are essential solutions. We captured 2002 images containing 10 types of weeds from cotton and corn fields, establishing the CornCottonWeed dataset, which provides rich data support for weed-detection tasks. Based on this dataset, we developed the MKD8 model for weed detection. To enhance the model’s feature extraction capabilities, we designed the CVM and CKN modules, which effectively alleviate the issues of deep-feature information loss and the difficulty in capturing fine-grained features, enabling the model to more accurately distinguish between different weed species. To suppress the interference of background noise, we designed the ASDW module, which combines dynamic convolution and attention mechanisms to further improve the model’s ability to differentiate and detect weeds. Experimental results show that the MKD8 model achieved mAP50 and mAP[50:95] of 88.6% and 78.4%, respectively, on the CornCottonWeed dataset, representing improvements of 9.9% and 8.5% over the baseline model. On the public weed dataset CottoWeedDet12, the mAP50 and mAP[50:95] reached 95.3% and 90.5%, respectively, representing improvements of 1.0% and 1.4% over the baseline model.
Authors
- Wenzhong Yang (ORCID: https://orcid.org/0009-0000-9351-8738)
- Jiajia Wang (ORCID: https://orcid.org/0000-0001-7624-8430)
- Doudou Ren
- Danny Chen
- Wenxuan Su
Institutions
- Xinjiang University (CN)
Publication Details
- Journal
- Agriculture
- Published
- 2025-04-08
- DOI
- https://doi.org/10.3390/agriculture15080807
- Citations
- 2
- Primary Topic
- Smart Agriculture and AI
- Type
- article
- Field-Weighted Citation Impact
- 3.50
Funders
- National Natural Science Foundation of China