Abstract
Modern agriculture must address growing food demand, labor shortages, and environmental concerns. Precision agriculture (PA), which involves crop monitoring and automation, offers solutions. A key element of PA is crop and weed detection, often achieved with deep learning. This study applies YOLOv7, an object detection model, to this task. While most approaches pre-train YOLOv7 on the general COCO dataset, COCO lacks plant images. Therefore, we built the MegaWeeds (MW) dataset, which contains seven existing datasets for weed and crop detection with a total of 18,287 images (and 19,317 label files). Performance was tested using the Lincolnbeet dataset of sugar beets and weeds, comparing models pre-trained on COCO and MW. Results showed similar mean average precision scores, i.e. 78.7% (COCO pretrained) and 78.6% (MW pretrained). Nonetheless, pretraining with MW proved advantageous by enabling faster convergence and better zero-shot detection than COCO. The study surpassed earlier YOLOv7 results on the same dataset and demonstrated that domain-specific pretraining shortens transfer learning and enhances detection efficiency.
| Original language | English |
|---|---|
| Title of host publication | Innovative Agricultural Technologies |
| Subtitle of host publication | Proceedings of IAT Congress 2025 |
| Editors | Longsheng Fu, Jitendra Paliwal, Hasan H. Silleli, Barbara Sturm, Fernando Auat Cheein |
| Place of Publication | Cham |
| Publisher | Springer |
| Pages | 136-156 |
| Number of pages | 21 |
| ISBN (Electronic) | 978-3-032-15375-3 |
| ISBN (Print) | 978-3-032-15374-6, 978-3-032-15377-7 |
| DOIs | |
| Publication status | Published - 31 Jan 2026 |
| Event | 15th International Congress of the Innovative Agricultural Technologies, IAT 2025 - Antalya, Turkey Duration: 15 Oct 2025 → 19 Oct 2025 |
Publication series
| Name | Lecture Notes in Civil Engineering (LNCE) |
|---|---|
| Volume | 805 |
| ISSN (Print) | 2366-2557 |
| ISSN (Electronic) | 2366-2565 |
Conference
| Conference | 15th International Congress of the Innovative Agricultural Technologies, IAT 2025 |
|---|---|
| Country/Territory | Turkey |
| City | Antalya |
| Period | 15/10/25 → 19/10/25 |
Bibliographical note
Publisher Copyright:© The Author(s), under exclusive license to Springer Nature Switzerland AG 2026.
Keywords
- Crop Detection
- Deep Learning
- Precision Agriculture
- Weed Detection
- YOLOv7
Fingerprint
Dive into the research topics of 'Megaweeds: an Experimental Study on Weed Detection with YOLOv7 Using a Novel Dataset'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver