Weed detection with Improved Yolov 7

Authors

DOI:

https://doi.org/10.4108/eetiot.v9i3.3468

Keywords:

weed identification, Deep Learning, attention mechanism, yolov7

Abstract

INTRODUCTION: An improved Yolo v7 model.

OBJECTIVES: To solve the weed detection and  identification in complex field background.

METHODS: The dataset was enhanced by online data enhancement, in which the feature extraction, feature fusion and feature point judgment of weed image were carried out by Yolov7 to predict the weed situation corresponding to the prior box. In the enhanced feature extraction part of Yolov7, CBAM, an attention mechanism combining channel and space, is introduced to improve the attention of the algorithm to weeds and strengthen the characteristics of weeds.

RESULTS: The mean average precision (mAP ) of the improved algorithm reached 91.15%, which was 2.06% higher than that of the original Yolov7 algorithm. Compared with the current mainstream target detection algorithms Yolox, Yolov5l, Fster RCNN, Yolov4-tiny and Yolov3, the mAP value of the improved algorithm increased by 4.35, 4.51, 5.41, 19.77 and 20.65 percentage points. Weed species can be accurately identified when multiple weeds are adjacent.

CONCLUSION: This paper provides a detection model based on Yolov7 for weed detection in the field, which has a good detection effect on weed detection, and lays a research foundation for intelligent weeding robot and spraying robot.

Downloads

Download data is not yet available.
<br data-mce-bogus="1"> <br data-mce-bogus="1">

References

Zhao Yuxin, Yang Huiming. Effects of crop pattern, tillage practice and water and fertilizer management on weeds and their control mechanisms. Acta Prataculturae Sinica. 2015; 24(8):199-210.

Pan Junfeng, Wan Kaiyuan, Tao Yong, et al. Ecological weed control strategy based on farmland nutrient management. Plant Protection. 2014; 40(3):5-9+36.

Cui cui, Tang yin. Effect of sowing rate of wheat on the weed community and wheat yield. Journal of Southwest University(Natural Science Edition). 2011; 33(12):12-17.

Madhukar S.Chavan. Automatic Arial Vehicle Based Pesticides Spraying System for Crops. International Journal of Innovative Technology and Exploring Engineering (IJITEE), 2019; 8(11). DOI: https://doi.org/10.35940/ijitee.J9915.0981119

Giles D., Billing R.. Deployment and Performance of a Uav for Crop Spraying. Chemical Engineering Transactions (CET Journal), 2015; 44.

Daniel E. Martin, Wayne E. Woldt, Mohamed A. Latheef. Effect of Application Height and Ground Speed on Spray Pattern and Droplet Spectra from Remotely Piloted Aerial Application Systems. Drones. 2019; 3(4). DOI: https://doi.org/10.3390/drones3040083

Baharuddin Mohd Rafee B, Sahid Ismail B, Noor Mohamad Azhar B Mohd, et al. Pesticide risk assessment: A study on inhalation and dermal exposure to 2,4-D and paraquat among Malaysian paddy farmers. Journal of environmental science and health. Part. B, Pesticides, food contaminants, and agricultural wastes. 2011; 46(7). DOI: https://doi.org/10.1080/03601234.2011.589309

Christos A. Damalas, Spyridon D. Koutroubas. Farmers’ Exposure to Pesticides: Toxicity Types and Ways of Prevention. Toxics. 2016; 4(1). DOI: https://doi.org/10.3390/toxics4010001

Hu Lian, Liu Hailong, He jie, et al. Research progress and prospect of intelligent weeding robot. Journal of South China Agricultural University. 2023; (1):1-15.

Fu Leiyang, Li shaowen, Zhang le, et al. Research progress on Field Weeding Robots:A Review. ROBOT. 2021; 43(6):751-768.

Li Yong, Guo Zhiqiang, Shuang Feng, et al. Key technologies of machine vision for weeding robots: A review and benchmark. Computers and Electronics in Agriculture. 2022; 196. DOI: https://doi.org/10.1016/j.compag.2022.106880

Yuan Hongbo, Zhao Nudong, Cheng Man. Review of Weeds Recognition Based on Image Processing. Transactions of the Chinese society for Agricultural Machinery. 2020; 51(S2):323-334.

Yan Qing, Liang Dong, Zhang Dongyan. Recognition of weed in corn field based on supervised locally linear embedding algorithm. Transactions of the Chinese Society of Agricultural Engineering(Transactions of the CSAE). 2013; 29(14):171-177.

Li Hui, Qi Lijun, Zhang Jianhua. Recognition of Weed during Cotton Emergence Baesd on Principal Component Analysis and Support Vector Machine. Transactions of the Chinese society for Agricultural Machinery. 2012; 43(09):184-189+196.

Wu Lanlan, Liu Jiangying, Wen Youxian. Weed Identification Method Based on SVM in the Corn Field. Transactions of the Chinese society for Agricultural Machinery. 2009; 40(01):162-166.

Cheng Beibei, ERIC T. MATSON. A Feature-Based Machine Learning Agent for Automatic Rice and Weed Discrimination. Artificial intelligence and soft computing: 14th International Conference, ICAISC 2015, Zakopane, Poland, June 14-18. 2015; Proceedings, p.I.:Springer, 2015:517-527.

Wang,C.Y. Bochkovskiy, A.Liao, H.Y.M. YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors. arXiv 2022, arXiv:2207.02696. DOI: https://doi.org/10.1109/UV56588.2022.10185474

Bochkovskiy,A.;Wang,C.Y.;Liao,H.Y.M.Yolov4:Optimal speed and accuracy of object detection.arXiv 2020, arXiv:2004.10934

Jiang Kailin, Xie Tianyu, Yan Rui, et al. An Attention Mechanism-Improved YOLOv7 Object Detection Algorithm for Hemp Duck Count Estimation. Agriculture. 2022; 12(10).

Ji Shouling, Du Tianyu, Deng Shuiguang, et al. Robustness Certification Research on Deep Learning Models: A Survey. Chinese Journal of Computers. 2022; 45(01):190-206.

Ren Shaoqing, He Kaiming, Girshick Ross, et al. Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks.IEEE transactions on pattern analysis and machine intelligence. 2017; 39(6). DOI: https://doi.org/10.1109/TPAMI.2016.2577031

He Kaiming, Gkioxari Georgia, Dollar Piotr, et al. Mask R-CNN.[J].IEEE transactions on pattern analysis and machine intelligence. 2020; 42(2). DOI: https://doi.org/10.1109/TPAMI.2018.2844175

Li Kecen, Wang Xiaoqiang, Lin Hao, et al. Survey of One-Stage small object detection methods in deep learning. Journal of Frontiers of Computer Science and Technology. 2022; 16(01):41-58.

Wei Liu, Dragomir Anguelov, Dumitru Erhan, et al. SSD: Single Shot MultiBox Detector. CoRR,2015,abs/1512.02325.

Tsung-Yi Lin, Piotr Dollár, Ross B. Girshick, et al. Feature Pyramid Networks for Object Detection. CoRR,2016,abs/1612.03144.

Redmon, J., Farhadi, A. Yolov3: An incremental improvement. 2018; arXiv preprint arXiv:1804.02767.

Jiang Honghua, Zhang Chuanyin, Qiao Yongliang, et al. CNN feature based graph convolutional network for weed and crop recognition in smart farming. Computers and Electronics in Agriculture. 2020; 174(C). DOI: https://doi.org/10.1016/j.compag.2020.105450

Chen Jiqing, Wang Huabin, Zhang Hongdu, et al. Weed detection in sesame fields using a YOLO model with an enhanced attention mechanism and feature fusion. Computers and Electronics in Agriculture. 2022; 202. DOI: https://doi.org/10.1016/j.compag.2022.107412

Jin Xiaojun, Sun Yanxia, Che Jun, et al. A Novel Deep Learning-Based Method for Detection of Weeds in Vegetables. Pest management science. 2022; 78(5). DOI: https://doi.org/10.1002/ps.6804

Tang JingLei, Wang Dong, Zhang ZhiGuang, et al. Weed identification based on K-means feature learning combined with convolutional neural network. Computers and Electronics in Agriculture. 2017; 135. DOI: https://doi.org/10.1016/j.compag.2017.01.001

Zhao Hui, Cao Yuhang, Yue Yongjin, et al. Field weed recognition based on improved DenseNet. Transactions of the Chinese Society of Agricultural Engineering(Transactions of the CSAE). 2021; 37(18):136-142.

Downloads

Published

14-08-2023

How to Cite

[1]
M. Peng, W. Zhang, F. Li, Q. Xue, J. Yuan, and P. An, “Weed detection with Improved Yolov 7”, EAI Endorsed Trans IoT, vol. 9, no. 3, p. e1, Aug. 2023.