{"title":"基于改进YOLOv8n的棉田杂草检测模型","authors":"Jun Wang, Zhengyuan Qi, Yanlong Wang, Yanyang Liu","doi":"10.1038/s41598-024-84748-8","DOIUrl":null,"url":null,"abstract":"<p><p>In modern agriculture, the proliferation of weeds in cotton fields poses a significant threat to the healthy growth and yield of crops. Therefore, efficient detection and control of cotton field weeds are of paramount importance. In recent years, deep learning models have shown great potential in the detection of cotton field weeds, achieving high-precision weed recognition. However, existing deep learning models, despite their high accuracy, often have complex computations and high resource consumption, making them difficult to apply in practical scenarios. To address this issue, developing efficient and lightweight detection methods for weed recognition in cotton fields is crucial for effective weed control. This study proposes the YOLO-Weed Nano algorithm based on the improved YOLOv8n model. First, the Depthwise Separable Convolution (DSC) structure is used to improve the HGNetV2 network, creating the DS_HGNetV2 network to replace the backbone of the YOLOv8n model. Secondly, the Bidirectional Feature Pyramid Network (BiFPN) is introduced to enhance the feature fusion layer, further optimizing the model's ability to recognize weed features in complex backgrounds. Finally, a lightweight detection head, LiteDetect, suitable for the BiFPN structure, is designed to streamline the model structure and reduce computational load. Experimental results show that compared to the original YOLOv8n model, YOLO-Weed Nano improves mAP by 1%, while reducing the number of parameters, computation, and weights by 63.8%, 42%, and 60.7%, respectively.</p>","PeriodicalId":21811,"journal":{"name":"Scientific Reports","volume":"15 1","pages":"457"},"PeriodicalIF":3.9000,"publicationDate":"2025-01-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC11696358/pdf/","citationCount":"0","resultStr":"{\"title\":\"A lightweight weed detection model for cotton fields based on an improved YOLOv8n.\",\"authors\":\"Jun Wang, Zhengyuan Qi, Yanlong Wang, Yanyang Liu\",\"doi\":\"10.1038/s41598-024-84748-8\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<p><p>In modern agriculture, the proliferation of weeds in cotton fields poses a significant threat to the healthy growth and yield of crops. Therefore, efficient detection and control of cotton field weeds are of paramount importance. In recent years, deep learning models have shown great potential in the detection of cotton field weeds, achieving high-precision weed recognition. However, existing deep learning models, despite their high accuracy, often have complex computations and high resource consumption, making them difficult to apply in practical scenarios. To address this issue, developing efficient and lightweight detection methods for weed recognition in cotton fields is crucial for effective weed control. This study proposes the YOLO-Weed Nano algorithm based on the improved YOLOv8n model. First, the Depthwise Separable Convolution (DSC) structure is used to improve the HGNetV2 network, creating the DS_HGNetV2 network to replace the backbone of the YOLOv8n model. Secondly, the Bidirectional Feature Pyramid Network (BiFPN) is introduced to enhance the feature fusion layer, further optimizing the model's ability to recognize weed features in complex backgrounds. Finally, a lightweight detection head, LiteDetect, suitable for the BiFPN structure, is designed to streamline the model structure and reduce computational load. Experimental results show that compared to the original YOLOv8n model, YOLO-Weed Nano improves mAP by 1%, while reducing the number of parameters, computation, and weights by 63.8%, 42%, and 60.7%, respectively.</p>\",\"PeriodicalId\":21811,\"journal\":{\"name\":\"Scientific Reports\",\"volume\":\"15 1\",\"pages\":\"457\"},\"PeriodicalIF\":3.9000,\"publicationDate\":\"2025-01-02\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC11696358/pdf/\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Scientific Reports\",\"FirstCategoryId\":\"103\",\"ListUrlMain\":\"https://doi.org/10.1038/s41598-024-84748-8\",\"RegionNum\":2,\"RegionCategory\":\"综合性期刊\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"MULTIDISCIPLINARY SCIENCES\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Scientific Reports","FirstCategoryId":"103","ListUrlMain":"https://doi.org/10.1038/s41598-024-84748-8","RegionNum":2,"RegionCategory":"综合性期刊","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"MULTIDISCIPLINARY SCIENCES","Score":null,"Total":0}
A lightweight weed detection model for cotton fields based on an improved YOLOv8n.
In modern agriculture, the proliferation of weeds in cotton fields poses a significant threat to the healthy growth and yield of crops. Therefore, efficient detection and control of cotton field weeds are of paramount importance. In recent years, deep learning models have shown great potential in the detection of cotton field weeds, achieving high-precision weed recognition. However, existing deep learning models, despite their high accuracy, often have complex computations and high resource consumption, making them difficult to apply in practical scenarios. To address this issue, developing efficient and lightweight detection methods for weed recognition in cotton fields is crucial for effective weed control. This study proposes the YOLO-Weed Nano algorithm based on the improved YOLOv8n model. First, the Depthwise Separable Convolution (DSC) structure is used to improve the HGNetV2 network, creating the DS_HGNetV2 network to replace the backbone of the YOLOv8n model. Secondly, the Bidirectional Feature Pyramid Network (BiFPN) is introduced to enhance the feature fusion layer, further optimizing the model's ability to recognize weed features in complex backgrounds. Finally, a lightweight detection head, LiteDetect, suitable for the BiFPN structure, is designed to streamline the model structure and reduce computational load. Experimental results show that compared to the original YOLOv8n model, YOLO-Weed Nano improves mAP by 1%, while reducing the number of parameters, computation, and weights by 63.8%, 42%, and 60.7%, respectively.
期刊介绍:
We publish original research from all areas of the natural sciences, psychology, medicine and engineering. You can learn more about what we publish by browsing our specific scientific subject areas below or explore Scientific Reports by browsing all articles and collections.
Scientific Reports has a 2-year impact factor: 4.380 (2021), and is the 6th most-cited journal in the world, with more than 540,000 citations in 2020 (Clarivate Analytics, 2021).
•Engineering
Engineering covers all aspects of engineering, technology, and applied science. It plays a crucial role in the development of technologies to address some of the world''s biggest challenges, helping to save lives and improve the way we live.
•Physical sciences
Physical sciences are those academic disciplines that aim to uncover the underlying laws of nature — often written in the language of mathematics. It is a collective term for areas of study including astronomy, chemistry, materials science and physics.
•Earth and environmental sciences
Earth and environmental sciences cover all aspects of Earth and planetary science and broadly encompass solid Earth processes, surface and atmospheric dynamics, Earth system history, climate and climate change, marine and freshwater systems, and ecology. It also considers the interactions between humans and these systems.
•Biological sciences
Biological sciences encompass all the divisions of natural sciences examining various aspects of vital processes. The concept includes anatomy, physiology, cell biology, biochemistry and biophysics, and covers all organisms from microorganisms, animals to plants.
•Health sciences
The health sciences study health, disease and healthcare. This field of study aims to develop knowledge, interventions and technology for use in healthcare to improve the treatment of patients.