IDEAS home Printed from https://ideas.repec.org/a/gam/jagris/v12y2022i7p975-d856993.html
   My bibliography  Save this article

Weed Detection in Maize Fields by UAV Images Based on Crop Row Preprocessing and Improved YOLOv4

Author

Listed:
  • Haotian Pei

    (Institutes of Physical Science and Information Technology, Anhui University, Hefei 230601, China
    Institute of Intelligent Machines, Hefei Institutes of Physical Science, Chinese Academy of Sciences, Hefei 230031, China)

  • Youqiang Sun

    (Institute of Intelligent Machines, Hefei Institutes of Physical Science, Chinese Academy of Sciences, Hefei 230031, China)

  • He Huang

    (Institute of Intelligent Machines, Hefei Institutes of Physical Science, Chinese Academy of Sciences, Hefei 230031, China)

  • Wei Zhang

    (Institutes of Physical Science and Information Technology, Anhui University, Hefei 230601, China
    Institute of Intelligent Machines, Hefei Institutes of Physical Science, Chinese Academy of Sciences, Hefei 230031, China)

  • Jiajia Sheng

    (Institute of Intelligent Machines, Hefei Institutes of Physical Science, Chinese Academy of Sciences, Hefei 230031, China
    Science Island Branch of Graduate School, University of Science and Technology of China, Hefei 230026, China)

  • Zhiying Zhang

    (Institute of Science and Technology Information, Jiangsu University, Zhenjiang 212013, China)

Abstract

Effective maize and weed detection plays an important role in farmland management, which helps to improve yield and save herbicide resources. Due to their convenience and high resolution, Unmanned Aerial Vehicles (UAVs) are widely used in weed detection. However, there are some challenging problems in weed detection: (i) the cost of labeling is high, the image contains many plants, and annotation of the image is time-consuming and labor-intensive; (ii) the number of maize is much larger than the number of weed in the field, and this imbalance of samples leads to decreased recognition accuracy; and (iii) maize and weed have similar colors, textures, and shapes, which are difficult to identify when an UAV flies at a comparatively high altitude. To solve these problems, we propose a new weed detection framework in this paper. First, to balance the samples and reduce the cost of labeling, a lightweight model YOLOv4-Tiny was exploited to detect and mask the maize rows so that it was only necessary to label weeds on the masked image. Second, the improved YOLOv4 was used as a weed detection model. We introduced the Meta-ACON activation function, added the Convolutional Block Attention Module (CBAM), and replaced the Non-Maximum Suppression (NMS) with Soft Non-Maximum Suppression (Soft-NMS). Moreover, the distributions and counts of weeds were analyzed, which was useful for variable herbicide spraying. The results showed that the total number of labels for 1000 images decrease by half, from 33,572 to 17,126. The improved YOLOv4 had a mean average precision ( mAP ) of 86.89%.

Suggested Citation

  • Haotian Pei & Youqiang Sun & He Huang & Wei Zhang & Jiajia Sheng & Zhiying Zhang, 2022. "Weed Detection in Maize Fields by UAV Images Based on Crop Row Preprocessing and Improved YOLOv4," Agriculture, MDPI, vol. 12(7), pages 1-18, July.
  • Handle: RePEc:gam:jagris:v:12:y:2022:i:7:p:975-:d:856993
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2077-0472/12/7/975/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2077-0472/12/7/975/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Nur Adibah Mohidem & Nik Norasma Che’Ya & Abdul Shukor Juraimi & Wan Fazilah Fazlil Ilahi & Muhammad Huzaifah Mohd Roslim & Nursyazyla Sulaiman & Mohammadmehdi Saberioon & Nisfariza Mohd Noor, 2021. "How Can Unmanned Aerial Vehicles Be Used for Detecting Weeds in Agricultural Fields?," Agriculture, MDPI, vol. 11(10), pages 1-27, October.
    2. Xiaoyu Li & Yuefeng Du & Lin Yao & Jun Wu & Lei Liu, 2021. "Design and Experiment of a Broken Corn Kernel Detection Device Based on the Yolov4-Tiny Algorithm," Agriculture, MDPI, vol. 11(12), pages 1-17, December.
    3. Nahina Islam & Md Mamunur Rashid & Santoso Wibowo & Cheng-Yuan Xu & Ahsan Morshed & Saleh A. Wasimi & Steven Moore & Sk Mostafizur Rahman, 2021. "Early Weed Detection Using Image Processing and Machine Learning Techniques in an Australian Chilli Farm," Agriculture, MDPI, vol. 11(5), pages 1-13, April.
    4. Brahim Jabir & Noureddine Falih, 2022. "A New Hybrid Model of Deep Learning ResNeXt-SVM for Weed Detection: Case Study," International Journal of Intelligent Information Technologies (IJIIT), IGI Global, vol. 18(2), pages 1-18, April.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Colette de Villiers & Cilence Munghemezulu & Zinhle Mashaba-Munghemezulu & George J. Chirima & Solomon G. Tesfamichael, 2023. "Weed Detection in Rainfed Maize Crops Using UAV and PlanetScope Imagery," Sustainability, MDPI, vol. 15(18), pages 1-22, September.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Yichen Qiao & Yaohua Hu & Zhouzhou Zheng & Huanbo Yang & Kaili Zhang & Juncai Hou & Jiapan Guo, 2022. "A Counting Method of Red Jujube Based on Improved YOLOv5s," Agriculture, MDPI, vol. 12(12), pages 1-20, December.
    2. El-Sayed M. El-Kenawy & Nima Khodadadi & Seyedali Mirjalili & Tatiana Makarovskikh & Mostafa Abotaleb & Faten Khalid Karim & Hend K. Alkahtani & Abdelaziz A. Abdelhamid & Marwa M. Eid & Takahiko Horiu, 2022. "Metaheuristic Optimization for Improving Weed Detection in Wheat Images Captured by Drones," Mathematics, MDPI, vol. 10(23), pages 1-30, November.
    3. Benjamin Costello & Olusegun O. Osunkoya & Juan Sandino & William Marinic & Peter Trotter & Boyang Shi & Felipe Gonzalez & Kunjithapatham Dhileepan, 2022. "Detection of Parthenium Weed ( Parthenium hysterophorus L.) and Its Growth Stages Using Artificial Intelligence," Agriculture, MDPI, vol. 12(11), pages 1-23, November.
    4. Vasileios Moysiadis & Georgios Kokkonis & Stamatia Bibi & Ioannis Moscholios & Nikolaos Maropoulos & Panagiotis Sarigiannidis, 2023. "Monitoring Mushroom Growth with Machine Learning," Agriculture, MDPI, vol. 13(1), pages 1-17, January.
    5. Shirin Ghatrehsamani & Gaurav Jha & Writuparna Dutta & Faezeh Molaei & Farshina Nazrul & Mathieu Fortin & Sangeeta Bansal & Udit Debangshi & Jasmine Neupane, 2023. "Artificial Intelligence Tools and Techniques to Combat Herbicide Resistant Weeds—A Review," Sustainability, MDPI, vol. 15(3), pages 1-18, January.
    6. Xianguo Ren & Haiqing Tian & Kai Zhao & Dapeng Li & Ziqing Xiao & Yang Yu & Fei Liu, 2022. "Research on pH Value Detection Method during Maize Silage Secondary Fermentation Based on Computer Vision," Agriculture, MDPI, vol. 12(10), pages 1-17, October.
    7. Yanxin Hu & Gang Liu & Zhiyu Chen & Jiaqi Liu & Jianwei Guo, 2023. "Lightweight One-Stage Maize Leaf Disease Detection Model with Knowledge Distillation," Agriculture, MDPI, vol. 13(9), pages 1-22, August.
    8. Benjamin T. Fraser & Christine L. Bunyon & Sarah Reny & Isabelle Sophia Lopez & Russell G. Congalton, 2022. "Analysis of Unmanned Aerial System (UAS) Sensor Data for Natural Resource Applications: A Review," Geographies, MDPI, vol. 2(2), pages 1-38, June.
    9. Sidrah Mumtaz & Mudassar Raza & Ofonime Dominic Okon & Saeed Ur Rehman & Adham E. Ragab & Hafiz Tayyab Rauf, 2023. "A Hybrid Framework for Detection and Analysis of Leaf Blight Using Guava Leaves Imaging," Agriculture, MDPI, vol. 13(3), pages 1-22, March.
    10. Xinle Zhang & Jian Cui & Huanjun Liu & Yongqi Han & Hongfu Ai & Chang Dong & Jiaru Zhang & Yunxiang Chu, 2023. "Weed Identification in Soybean Seedling Stage Based on Optimized Faster R-CNN Algorithm," Agriculture, MDPI, vol. 13(1), pages 1-16, January.
    11. Nur Adibah Mohidem & Nik Norasma Che’Ya & Abdul Shukor Juraimi & Wan Fazilah Fazlil Ilahi & Muhammad Huzaifah Mohd Roslim & Nursyazyla Sulaiman & Mohammadmehdi Saberioon & Nisfariza Mohd Noor, 2021. "How Can Unmanned Aerial Vehicles Be Used for Detecting Weeds in Agricultural Fields?," Agriculture, MDPI, vol. 11(10), pages 1-27, October.
    12. Mohammed Aljebreen & Hanan Abdullah Mengash & Fadoua Kouki & Abdelwahed Motwakel, 2023. "Improved Artificial Ecosystem Optimizer with Deep-Learning-Based Insect Detection and Classification for Agricultural Sector," Sustainability, MDPI, vol. 15(20), pages 1-17, October.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jagris:v:12:y:2022:i:7:p:975-:d:856993. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.