Assessing the capability of YOLO- and transformer-based object detectors for real-time weed detection

IF 5.4 2区 农林科学 Q1 AGRICULTURE, MULTIDISCIPLINARY
Alicia Allmendinger, Ahmet Oğuz Saltık, Gerassimos G. Peteinatos, Anthony Stein, Roland Gerhards
{"title":"Assessing the capability of YOLO- and transformer-based object detectors for real-time weed detection","authors":"Alicia Allmendinger, Ahmet Oğuz Saltık, Gerassimos G. Peteinatos, Anthony Stein, Roland Gerhards","doi":"10.1007/s11119-025-10246-0","DOIUrl":null,"url":null,"abstract":"<p>Spot spraying represents an efficient and sustainable method for reducing herbicide use in agriculture. Reliable differentiation between crops and weeds, including species-level classification, is essential for real-time application. This study compares state-of-the-art object detection models-YOLOv8, YOLOv9, YOLOv10, and RT-DETR-using 5611 images from 16 plant species. Two datasets were created, dataset 1 with training all 16 species individually and dataset 2 with grouping weeds into monocotyledonous weeds, dicotyledonous weeds, and three chosen crops. Results indicate that all models perform similarly, but YOLOv9s and YOLOv9e, exhibit strong recall (66.58 % and 72.36 %) and mAP50 (73.52 % and 79.86 %), and mAP50-95 (43.82 % and 47.00 %) in dataset 2. RT-DETR-l, excels in precision reaching 82.44 % (dataset 1) and 81.46 % (dataset 2) making it ideal for minimizing false positives. In dataset 2, YOLOv9c attains a precision of 84.76% for dicots and 78.22% recall for <i>Zea mays</i> L.. Inference times highlight smaller YOLO models (YOLOv8n, YOLOv9t, and YOLOv10n) as the fastest, reaching 7.64 ms (dataset 1) on an NVIDIA GeForce RTX 4090 GPU, with CPU inference times increasing significantly. These findings emphasize the trade-off between model size, accuracy, and hardware suitability for real-time agricultural applications.</p>","PeriodicalId":20423,"journal":{"name":"Precision Agriculture","volume":"32 1","pages":""},"PeriodicalIF":5.4000,"publicationDate":"2025-05-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Precision Agriculture","FirstCategoryId":"97","ListUrlMain":"https://doi.org/10.1007/s11119-025-10246-0","RegionNum":2,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURE, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0

Abstract

Spot spraying represents an efficient and sustainable method for reducing herbicide use in agriculture. Reliable differentiation between crops and weeds, including species-level classification, is essential for real-time application. This study compares state-of-the-art object detection models-YOLOv8, YOLOv9, YOLOv10, and RT-DETR-using 5611 images from 16 plant species. Two datasets were created, dataset 1 with training all 16 species individually and dataset 2 with grouping weeds into monocotyledonous weeds, dicotyledonous weeds, and three chosen crops. Results indicate that all models perform similarly, but YOLOv9s and YOLOv9e, exhibit strong recall (66.58 % and 72.36 %) and mAP50 (73.52 % and 79.86 %), and mAP50-95 (43.82 % and 47.00 %) in dataset 2. RT-DETR-l, excels in precision reaching 82.44 % (dataset 1) and 81.46 % (dataset 2) making it ideal for minimizing false positives. In dataset 2, YOLOv9c attains a precision of 84.76% for dicots and 78.22% recall for Zea mays L.. Inference times highlight smaller YOLO models (YOLOv8n, YOLOv9t, and YOLOv10n) as the fastest, reaching 7.64 ms (dataset 1) on an NVIDIA GeForce RTX 4090 GPU, with CPU inference times increasing significantly. These findings emphasize the trade-off between model size, accuracy, and hardware suitability for real-time agricultural applications.

评估基于YOLO和变压器的目标检测器的实时杂草检测能力
现场喷洒是减少农业除草剂使用的一种有效和可持续的方法。作物和杂草之间的可靠区分,包括物种级别的分类,对于实时应用至关重要。本研究使用来自16种植物的5611张图像,比较了最先进的目标检测模型——yolov8、YOLOv9、YOLOv10和rt - detr。创建了两个数据集,数据集1单独训练所有16种杂草,数据集2将杂草分为单子叶杂草、双子叶杂草和三种选定的作物。结果表明,所有模型的表现相似,但YOLOv9s和YOLOv9e在数据集2中表现出较强的召回率(66.58%和72.36%),mAP50(73.52%和79.86%)和mAP50-95(43.82%和47.00%)。rt - detr - 1的精度达到82.44%(数据集1)和81.46%(数据集2),使其成为最小化误报的理想选择。在数据集2中,YOLOv9c对dicot的准确率为84.76%,对Zea mays L的召回率为78.22%。推断时间突出显示较小的YOLO模型(YOLOv8n, YOLOv9t和YOLOv10n)是最快的,在NVIDIA GeForce RTX 4090 GPU上达到7.64 ms(数据集1),CPU推断时间显着增加。这些发现强调了模型大小、准确性和实时农业应用的硬件适用性之间的权衡。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Precision Agriculture
Precision Agriculture 农林科学-农业综合
CiteScore
12.30
自引率
8.10%
发文量
103
审稿时长
>24 weeks
期刊介绍: Precision Agriculture promotes the most innovative results coming from the research in the field of precision agriculture. It provides an effective forum for disseminating original and fundamental research and experience in the rapidly advancing area of precision farming. There are many topics in the field of precision agriculture; therefore, the topics that are addressed include, but are not limited to: Natural Resources Variability: Soil and landscape variability, digital elevation models, soil mapping, geostatistics, geographic information systems, microclimate, weather forecasting, remote sensing, management units, scale, etc. Managing Variability: Sampling techniques, site-specific nutrient and crop protection chemical recommendation, crop quality, tillage, seed density, seed variety, yield mapping, remote sensing, record keeping systems, data interpretation and use, crops (corn, wheat, sugar beets, potatoes, peanut, cotton, vegetables, etc.), management scale, etc. Engineering Technology: Computers, positioning systems, DGPS, machinery, tillage, planting, nutrient and crop protection implements, manure, irrigation, fertigation, yield monitor and mapping, soil physical and chemical characteristic sensors, weed/pest mapping, etc. Profitability: MEY, net returns, BMPs, optimum recommendations, crop quality, technology cost, sustainability, social impacts, marketing, cooperatives, farm scale, crop type, etc. Environment: Nutrient, crop protection chemicals, sediments, leaching, runoff, practices, field, watershed, on/off farm, artificial drainage, ground water, surface water, etc. Technology Transfer: Skill needs, education, training, outreach, methods, surveys, agri-business, producers, distance education, Internet, simulations models, decision support systems, expert systems, on-farm experimentation, partnerships, quality of rural life, etc.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信