Improved YOLOv8-Seg Based on Multiscale Feature Fusion and Deformable Convolution for Weed Precision Segmentation
Source abstract
Abstract
Laser-targeted weeding methods further enhance the sustainable development of green agriculture, with one key technology being the improvement of weed localization accuracy. Here, we propose an improved YOLOv8 instance segmentation based on bidirectional feature fusion and deformable convolution (BFFDC-YOLOv8-seg) to address the challenges of insufficient weed localization accuracy in complex environments with resource-limited laser weeding devices. Initially, by training on extensive datasets of plant images, the most appropriate model scale and training weights are determined, facilitating the development of a lightweight network. Subsequently, the introduction of the Bidirectional Feature Pyramid Network (BiFPN) during feature fusion effectively prevents the omission of weeds. Lastly, the use of Dynamic Snake Convolution (DSConv) to replace some convolutional kernels enhances flexibility, benefiting the segmentation of weeds with elongated stems and irregular edges. Experimental results indicate that the BFFDC-YOLOv8-seg model achieves a 4.9% increase in precision, an 8.1% increase in recall rate, and a 2.8% increase in mAP50 value to 98.8% on a vegetable weed dataset compared to the original model. It also shows improved mAP50 over other typical segmentation models such as Mask R-CNN, YOLOv5-seg, and YOLOv7-seg by 10.8%, 13.4%, and 1.8%, respectively. Furthermore, the model achieves a detection speed of 24.8 FPS on the Jetson Orin nano standalone device, with a model size of 6.8 MB that balances between size and accuracy. The model meets the requirements for real-time precise weed segmentation, and is suitable for complex vegetable field environments and resource-limited laser weeding devices.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Smart Agriculture and AI · Plant Disease Management Techniques · Date Palm Research Studies
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
College of Big Data and Information Engineering, Guizhou University, Guiyang 550025, China
Funding
Undergraduate Training Programs for Innovation and Entrepreneurship of Guizhou University
References (34)
Show source-provided references
1. Mechanical and chemical weeding effects on the weed structure in durum wheat
2. Traits of insect herbivores and target weeds associated with greater biological weed control establishment and impact10.1007/s10526-024-10245-6 ↗
3. Gao, W.-T., and Su, W.-H. (2024). Weed Management Methods for Herbaceous Field Crops: A Review. Agronomy, 14.10.3390/agronomy14030486 ↗
4. Recent contributions of molecular population genetic and phylogenetic studies to classic biological control of weeds10.1007/s10526-023-10230-5 ↗
5. The intersection of integrated pest management and soil quality in the resistant weed era
6. A survey on the role of Internet of Things for adopting and promoting Agriculture 4.010.1016/j.jnca.2021.103107 ↗
7. Analysis of transfer learning for deep neural network based plant classification models10.1016/j.compag.2019.01.041 ↗
8. Crop yield prediction with deep convolutional neural networks10.1016/j.compag.2019.104859 ↗
9. A survey of deep learning techniques for weed detection from images10.1016/j.compag.2021.106067 ↗
10. Weed detection to weed recognition: Reviewing 50 years of research to identify constraints and opportunities for large-scale cropping systems10.1017/wet.2022.84 ↗
11. Yu, H., Che, M., Yu, H., and Zhang, J. (2022). Development of Weed Detection Method in Soybean Fields Utilizing Improved DeepLabv3+ Platform. Agronomy, 12.10.3390/agronomy12112889 ↗
12. Weed detection in soybean fields using improved YOLOv7 and evaluating herbicide reduction efficacy10.3389/fpls.2023.1284338 ↗
13. Deep Residual CNN with Contrast Limited Adaptive Histogram Equalization for Weed Detection in Soybean Crops10.18280/ts.390236 ↗
14. Zhao, J., Tian, G., Qiu, C., Gu, B., Zheng, K., and Liu, Q. (2022). Weed Detection in Potato Fields Based on Improved YOLOv4: Optimal Speed and Accuracy of Weed Detection in Potato Fields. Electronics, 11.10.3390/electronics11223709 ↗
15. Can digital technology promote sustainable agriculture? Empirical evidence from urban China10.1080/23311932.2023.2282234 ↗
16. Rakhmatulin, I., and Andreasen, C. (2020). A Concept of a Compact and Inexpensive Device for Controlling Weeds with Laser Beams. Agronomy, 10.10.2139/ssrn.3716607 ↗
17. A Novel Two-Degree-of-Freedom Gimbal for Dynamic Laser Weeding: Design, Analysis, and Experimentation10.1109/TMECH.2022.3169593 ↗
18. Mwitta, C., Rains, G.C., and Prostko, E. (2024). Evaluation of Inference Performance of Deep Learning Models for Real-Time Weed Detection in an Embedded Computer. Sensors, 24.10.3390/s24020514 ↗
19. Mwitta, C., Rains, G.C., and Prostko, E. (2022). Evaluation of Diode Laser Treatments to Manage Weeds in Row Crops. Agronomy, 12.10.3390/agronomy12112681 ↗
20. Development of a prototype robot and fast path-planning algorithm for static laser weeding10.1016/j.compag.2017.11.023 ↗
21. YOLOX-based blue laser weeding robot in corn field10.3389/fpls.2022.1017803 ↗
22. Research on improved YOLOx weed detection based on lightweight attention module10.1016/j.cropro.2023.106563 ↗
23. Fatima, H.S., ul Hassan, I., Hasan, S., Khurram, M., Stricker, D., and Afzal, M.Z. (2023). Formation of a Lightweight, Deep Learning-Based Weed Detection System for a Commercial Autonomous Laser Weeding Robot. Appl. Sci., 13.10.3390/app13063997 ↗
24. Tan, M., Pang, R., and Le, Q.V. (2020, January 19–20). EfficientDet: Scalable and Efficient Object Detection. Proceedings of the 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA.10.1109/CVPR42600.2020.01079 ↗
25. A Comprehensive Review of YOLO Architectures in Computer Vision: From YOLOv1 to YOLOv8 and YOLO-NAS10.3390/make5040083 ↗
26. Lin, T.-Y., Dollar, P., Girshick, R., He, K., Hariharan, B., and Belongie, S. (2017, January 21–26). Feature Pyramid Networks for Object Detection. Proceedings of the 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA.10.1109/CVPR.2017.106 ↗
27. Liu, S., Qi, L., Qin, H., Shi, J., and Jia, J. (2018, January 18–23). Path Aggregation Network for Instance Segmentation. Proceedings of the 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA.10.1109/CVPR.2018.00913 ↗
28. Bolya, D., Zhou, C., Xiao, F., and Lee, Y.J. (November, January 27). YOLACT: Real-Time Instance Segmentation. Proceedings of the 2019 IEEE/CVF International Conference on Computer Vision (ICCV), Seoul, Republic of Korea.10.1109/ICCV.2019.00925 ↗
29. Meng, Y., Men, H., and Prasanna, V. (2022, January 15–18). Accelerating Deformable Convolution Networks. Proceedings of the 2022 IEEE 30th Annual International Symposium on Field-Programmable Custom Computing Machines (FCCM), New York, NY, USA.10.1109/FCCM53951.2022.9786173 ↗
30. Qi, Y., He, Y., Qi, X., Zhang, Y., and Yang, G. (2023, January 1–6). Dynamic Snake Convolution based on Topological Geometric Constraints for Tubular Structure Segmentation. Proceedings of the 2023 IEEE/CVF International Conference on Computer Vision (ICCV), Paris, France.10.1109/ICCV51070.2023.00558 ↗
31. He, K., Gkioxari, G., Dollar, P., and Girshick, R. (2017, January 22–29). Mask R-CNN. Proceedings of the 2017 IEEE International Conference on Computer Vision (ICCV), Venice, Italy.10.1109/ICCV.2017.322 ↗
32. Redmon, J., Divvala, S., Girshick, R., and Farhadi, A. (2016, January 27–30). You Only Look Once: Unified, Real-Time Object Detection. Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.10.1109/CVPR.2016.91 ↗
33. Wang, C.-Y., Bochkovskiy, A., and Liao, H.-Y.M. (2023, January 17–24). YOLOv7: Trainable Bag-of-Freebies Sets New State-of-the-Art for Real-Time Object Detectors. Proceedings of the 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Vancouver, BC, Canada.10.1109/CVPR52729.2023.00721 ↗
34. Yue, X., Qi, K., Na, X., Zhang, Y., Liu, Y., and Liu, C. (2023). Improved YOLOv8-Seg Network for Instance Segmentation of Healthy and Diseased Tomato Plants in the Growth Stage. Agriculture, 13.10.3390/agriculture13081643 ↗