Indirect Crop Line Detection in Precision Mechanical Weeding Using AI: A Comparative Analysis of Different Approaches
Growing interest in organic food, along with European regulations limiting chemical usage, and the declining effectiveness of herbicides due to weed resistance, are all contributing to the growing trend towards mechanical weeding. For mechanical weeding to be effective, tools must pass near the crops in both the inter- and intra-row areas. The use of AI-based computer vision can assist in detecting crop lines and accurately guiding weeding tools. Additionally, AI-driven image analysis can be used for selective intra-row weeding with mechanized blades, distinguishing crops from weeds. However, until now, there have been two separate systems for these tasks. To enable simultaneous in-row weeding and row alignment, YOLOv8n and YOLO11n were trained and compared in a lettuce field (Lactuca sativa L.). The models were evaluated based on different metrics and inference time for three different image sizes. Crop lines were generated through linear regression on the bounding box centers of detected plants and compared against manually drawn ground truth lines, generated during the annotation process, using different deviation metrics. As more than one line appeared per image, the proposed methodology for classifying points in their corresponding crop line was tested for three different approaches with different empirical factor values. The best-performing approach achieved a mean horizontal error of 45 pixels, demonstrating the feasibility of a dual-functioning system using a single vision model.
Authors
- Konstantinos G. Arvanitis (ORCID: https://orcid.org/0000-0002-5778-6644)
- Gerassimos G. Peteinatos (ORCID: https://orcid.org/0000-0002-8676-1024)
- Ioannis Glykos (ORCID: https://orcid.org/0009-0002-4853-1233)
Institutions
- Agricultural University of Athens (GR)
- Hellenic Centre for Marine Research (GR)
Publication Details
- Published
- 2025-08-25
- DOI
- https://doi.org/10.3390/engproc2025104032
- Primary Topic
- Smart Agriculture and AI
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- European Commission
- Hellenic Foundation for Research and Innovation