{"title":"An Improved YOLOv8-Based Method for Detecting Pests and Diseases on Cucumber Leaves in Natural Backgrounds.","authors":"Jiacong Xie, Xingliu Xie, Wu Xie, Qianxin Xie","doi":"10.3390/s25051551","DOIUrl":null,"url":null,"abstract":"<p><p>The accurate detection and identification of pests and diseases on cucumber leaves is a prerequisite for scientifically controlling such issues. To address the limited detection accuracy of existing models in complex and diverse natural backgrounds, this study proposes an improved deep learning network model based on YOLOv8, named SEDCN-YOLOv8. First, the deformable convolution network DCNv2 (Deformable Convolution Network version 2) is introduced, replacing the original C2f module with an improved C2f_DCNv2 module in the backbone feature extraction network's final C2f block. This enhances the model's ability to recognize multi-scale, deformable leaf shapes and disease characteristics. Second, a Separated and Enhancement Attention Module (SEAM) is integrated to construct an improved detection head, Detect_SEAM, which strengthens the learning of critical features in pest and disease channels. This module also captures the relationship between occluded and non-occluded leaves, thereby improving the recognition of diseased leaves that are partially obscured. Finally, the original CIOU loss function of YOLOv8 is replaced with the Focaler-SIOU loss function. The experimental results demonstrate that the SEDCN-YOLOv8 network achieves a mean average precision (mAP) of 75.1% for mAP50 and 53.1% for mAP50-95 on a cucumber pest and disease dataset, representing improvements of 1.8 and 1.5 percentage points, respectively, over the original YOLOv8 model. The new model exhibits superior detection accuracy and generalization capabilities, with a model size of 6 MB and a detection speed of 400 frames per second, fully meeting the requirements for industrial deployment and real-time detection. Therefore, the SEDCN-YOLOv8 network model demonstrates broad applicability and can be effectively used in large-scale real-world scenarios for cucumber leaf pest and disease detection.</p>","PeriodicalId":21698,"journal":{"name":"Sensors","volume":"25 5","pages":""},"PeriodicalIF":3.4000,"publicationDate":"2025-03-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC11902510/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Sensors","FirstCategoryId":"103","ListUrlMain":"https://doi.org/10.3390/s25051551","RegionNum":3,"RegionCategory":"综合性期刊","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"CHEMISTRY, ANALYTICAL","Score":null,"Total":0}
引用次数: 0
Abstract
The accurate detection and identification of pests and diseases on cucumber leaves is a prerequisite for scientifically controlling such issues. To address the limited detection accuracy of existing models in complex and diverse natural backgrounds, this study proposes an improved deep learning network model based on YOLOv8, named SEDCN-YOLOv8. First, the deformable convolution network DCNv2 (Deformable Convolution Network version 2) is introduced, replacing the original C2f module with an improved C2f_DCNv2 module in the backbone feature extraction network's final C2f block. This enhances the model's ability to recognize multi-scale, deformable leaf shapes and disease characteristics. Second, a Separated and Enhancement Attention Module (SEAM) is integrated to construct an improved detection head, Detect_SEAM, which strengthens the learning of critical features in pest and disease channels. This module also captures the relationship between occluded and non-occluded leaves, thereby improving the recognition of diseased leaves that are partially obscured. Finally, the original CIOU loss function of YOLOv8 is replaced with the Focaler-SIOU loss function. The experimental results demonstrate that the SEDCN-YOLOv8 network achieves a mean average precision (mAP) of 75.1% for mAP50 and 53.1% for mAP50-95 on a cucumber pest and disease dataset, representing improvements of 1.8 and 1.5 percentage points, respectively, over the original YOLOv8 model. The new model exhibits superior detection accuracy and generalization capabilities, with a model size of 6 MB and a detection speed of 400 frames per second, fully meeting the requirements for industrial deployment and real-time detection. Therefore, the SEDCN-YOLOv8 network model demonstrates broad applicability and can be effectively used in large-scale real-world scenarios for cucumber leaf pest and disease detection.
期刊介绍:
Sensors (ISSN 1424-8220) provides an advanced forum for the science and technology of sensors and biosensors. It publishes reviews (including comprehensive reviews on the complete sensors products), regular research papers and short notes. Our aim is to encourage scientists to publish their experimental and theoretical results in as much detail as possible. There is no restriction on the length of the papers. The full experimental details must be provided so that the results can be reproduced.