Remote Sensing (Nov 2024)

Deep Learning for Weed Detection and Segmentation in Agricultural Crops Using Images Captured by an Unmanned Aerial Vehicle

  • Josef Augusto Oberdan Souza Silva,
  • Vilson Soares de Siqueira,
  • Marcio Mesquita,
  • Luís Sérgio Rodrigues Vale,
  • Thiago do Nascimento Borges Marques,
  • Jhon Lennon Bezerra da Silva,
  • Marcos Vinícius da Silva,
  • Lorena Nunes Lacerda,
  • José Francisco de Oliveira-Júnior,
  • João Luís Mendes Pedroso de Lima,
  • Henrique Fonseca Elias de Oliveira

DOI
https://doi.org/10.3390/rs16234394
Journal volume & issue
Vol. 16, no. 23
p. 4394

Abstract

Read online

Artificial Intelligence (AI) has changed how processes are developed, and decisions are made in the agricultural area replacing manual and repetitive processes with automated and more efficient ones. This study presents the application of deep learning techniques to detect and segment weeds in agricultural crops by applying models with different architectures in the analysis of images captured by an Unmanned Aerial Vehicle (UAV). This study contributes to the computer vision field by comparing the performance of the You Only Look Once (YOLOv8n, YOLOv8s, YOLOv8m, and YOLOv8l), Mask R-CNN (with framework Detectron2), and U-Net models, making public the dataset with aerial images of soybeans and beans. The models were trained using a dataset consisting of 3021 images, randomly divided into test, validation, and training sets, which were annotated, resized, and increased using the Roboflow application interface. Evaluation metrics were used, which included training efficiency (mAP50 and mAP50-90), precision, accuracy, and recall in the model’s evaluation and comparison. The YOLOv8s variant achieved higher performance with an mAP50 of 97%, precision of 99.7%, and recall of 99% when compared to the other models. The data from this manuscript show that deep learning models can generate efficient results for automatic weed detection when trained with a well-labeled and large set. Furthermore, this study demonstrated the great potential of using advanced object segmentation algorithms in detecting weeds in soybean and bean crops.

Keywords