# Assessing the Capability of YOLO- and Transformer-based Object Detectors for Real-time Weed Detection

arXiv: https://arxiv.org/abs/2501.17387 · HTML: https://mlsanity.com/paper/2501.17387/

## Key facts

- Cited by 5 papers in the map (data through 14 Oct 2026).
- Builds on 13 of its 55 references that are in the map.
- First posted on arXiv 29 Jan 2025.

## Builds on (most cited first, 13 of 13)

- [Attention Is All You Need](https://mlsanity.com/paper/1706.03762/) (2017)
- [An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale](https://mlsanity.com/paper/2010.11929/) (2020)
- [PyTorch: An Imperative Style, High-Performance Deep Learning Library](https://mlsanity.com/paper/1912.01703/) (2019)
- [Microsoft COCO: Common Objects in Context](https://mlsanity.com/paper/1405.0312/) (2014)
- [Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks](https://mlsanity.com/paper/1506.01497/) (2015)
- [End-to-End Object Detection with Transformers](https://mlsanity.com/paper/2005.12872/) (2020)
- [You Only Look Once: Unified, Real-Time Object Detection](https://mlsanity.com/paper/1506.02640/) (2015)
- [DETRs Beat YOLOs on Real-time Object Detection](https://mlsanity.com/paper/2304.08069/) (2023)
- [YOLOv9: Learning What You Want to Learn Using Programmable Gradient Information](https://mlsanity.com/paper/2402.13616/) (2024)
- [Deep Learning for Generic Object Detection: A Survey](https://mlsanity.com/paper/1809.02165/) (2018)
- [Comparative Analysis of YOLOv9, YOLOv10 and RT-DETR for Real-Time Weed Detection](https://mlsanity.com/paper/2412.13490/) (2024)
- [Enhancing weed detection performance by means of GenAI-based image augmentation](https://mlsanity.com/paper/2411.18513/) (2024)
- [Small Object Detection by DETR via Information Augmentation and Adaptive Feature Fusion](https://mlsanity.com/paper/2401.08017/) (2024)

## Built on by (most cited first, 5 of 5)

- [Exploring Model Quantization in GenAI-based Image Inpainting and Detection of Arable Plants](https://mlsanity.com/paper/2503.02420/) (2025)
- [Improving Lightweight Weed Detection via Knowledge Distillation](https://mlsanity.com/paper/2507.12344/) (2025)
- [Resource-Constrained UAV-Based Weed Detection for Site-Specific Management on Edge Devices](https://mlsanity.com/paper/2604.23442/) (2026)
- [Detection of On-Ground Chestnuts Using Artificial Intelligence Toward Automated Picking](https://mlsanity.com/paper/2602.14140/) (2026)
- [A Multi-Dataset Benchmark of YOLO-Based Weed Detection in Precision Agriculture](https://mlsanity.com/paper/2609.33991/) (2026)

## Abstract (arXiv)

Spot spraying represents an efficient and sustainable method for reducing the amount of pesticides, particularly herbicides, used in agricultural fields. To achieve this, it is of utmost importance to reliably differentiate between crops and weeds, and even between individual weed species in situ and under real-time conditions. To assess suitability for real-time application, different object detection models that are currently state-of-the-art are compared. All available models of YOLOv8, YOLOv9, YOLOv10, and RT-DETR are trained and evaluated with images from a real field situation. The images are separated into two distinct datasets: In the initial data set, each species of plants is trained individually; in the subsequent dataset, a distinction is made between monocotyledonous weeds, dicotyledonous weeds, and three chosen crops. The results demonstrate that while all models perform equally well in the metrics evaluated, the YOLOv9 models, particularly the YOLOv9s and YOLOv9e, stand out in terms of their strong recall scores (66.58 % and 72.36 %), as well as mAP50 (73.52 % and 79.86 %), and mAP50-95 (43.82 % and 47.00 %) in dataset 2. However, the RT-DETR models, especially RT-DETR-l, excel in precision with reaching 82.44 % on dataset 1 and 81.46 % in dataset 2, making them particularly suitable for scenarios where minimizing false positives is critical. In particular, the smallest variants of the YOLO models (YOLOv8n, YOLOv9t, and YOLOv10n) achieve substantially faster inference times down to 7.58 ms for dataset 2 on the NVIDIA GeForce RTX 4090 GPU for analyzing one frame, while maintaining competitive accuracy, highlighting their potential for deployment in resource-constrained embedded computing devices as typically used in productive setups.
