Agriculture (Feb 2024)

Development of a Detection System for Types of Weeds in Maize (<i>Zea mays</i> L.) under Greenhouse Conditions Using the YOLOv5 v7.0 Model

  • Oscar Leonardo García-Navarrete,
  • Oscar Santamaria,
  • Pablo Martín-Ramos,
  • Miguel Ángel Valenzuela-Mahecha,
  • Luis Manuel Navas-Gracia

DOI
https://doi.org/10.3390/agriculture14020286
Journal volume & issue
Vol. 14, no. 2
p. 286

Abstract

Read online

Corn (Zea mays L.) is one of the most important cereals worldwide. To maintain crop productivity, it is important to eliminate weeds that compete for nutrients and other resources. The eradication of these causes environmental problems through the use of agrochemicals. The implementation of technology to mitigate this impact is also a challenge. In this work, an artificial vision system was implemented based on the YOLOv5s (You Only Look Once) model, which uses a single convolutional neural network (CNN) that allows differentiating corn from four types of weeds, for which a mobile support structure was built to capture images. The performance of the trained model had a value of mAP@05 (mean Average Precision) at a threshold of 0.5 of 83.6%. A prediction accuracy of 97% and a mAP@05 of 97.5% were obtained for the maize class. For the weed classes, Lolium perenne, Sonchus oleraceus, Solanum nigrum, and Poa annua obtained an accuracy of 86%, 90%, 78%, and 74%, and a mAP@05 of 81.5%, 90.2%, 76.6% and 72.0%, respectively. The results are encouraging for the construction of a precision weeding system.

Keywords