No noticeNo retraction, correction or concern found when last checked on Dec 2, 2026.
Improved YOLOv8n Method for the High-Precision Detection of Cotton Diseases and Pests
Jiakuan Huang, Wei Huang
AgriEngineering · 2025
doi:10.3390/agriengineering7070232 (opens in a new tab)
We email you when a new notice or a question about this paper appears.
Abstract
Accurate detection of cotton pests and diseases is essential for agricultural productivity yet remains challenging due to complex field environments, the small size of pests and diseases, and significant occlusions. To address the challenges presented by these factors, a novel cotton disease and pest detection method is proposed. This method builds upon the YOLOv8 baseline model and incorporates a Multi-Scale Sliding Window Attention Module (MSFE) within the backbone architecture to enhance feature extraction capabilities specifically for small targets. Furthermore, a Depth-Separable Dilated Convolution Module (C2f-DWR) is designed to replace the existing C2f module in the neck of the network. By employing varying dilation rates, this modification effectively expands the receptive field and alleviates the loss of detailed information associated with the downsampling processes. In addition, a Multi-Head Attention Detection Head (MultiSEAMDetect) is introduced to supplant the original detection head. This new head utilizes diverse patch sizes alongside adaptive average pooling mechanisms, thereby enabling the model to adjust its responses in accordance with varying contextual scenarios, which significantly enhances its ability to manage occlusion during detection. For the purpose of experimental validation, a dedicated dataset for cotton disease and pest detection was developed. In this dataset, the improved model’s mAP50 and mAP50:95 increased from 73.4% and 46.2% to 77.2% and 48.6%, respectively, compared to the original YOLOv8 algorithm. Validation on two Kaggle datasets showed that mAP50 rose from 92.1% and 97.6% to 93.2% and 97.9%, respectively. Meanwhile, mAP50:95 improved from 86% and 92.5% to 87.1% and 93.5%. These findings provide compelling evidence of the superiority of the proposed algorithm. Compared to other advanced mainstream algorithms, it exhibits higher accuracy and recall, indicating that the improved algorithm performs better in the task of cotton pest and disease detection.
Abstract licence: CC BY
Reads
Read by people on this page
None yet.
Checked or read by AI through naulon
None yet.
A person counts once a day per paper. We keep no cookie and no address: a reader is a hash that changes every day. Any month under five reads shows no number.
Are you an author?
Is this your paper?
Claim it to add your note and be paid when agents cite it. Free.