A Comparative Benchmark of Real-Time Detectors for Canopy Image-Based Blueberry Detection Toward Precision Orchard Management
Open Access
Abstract
Computer vision with artificial intelligence (AI) offers a promising tool for blueberry growers to accomplish orchard tasks such as harvest maturity assessment and yield estimation, which otherwise would be labor-intensive and prone to error. However, blueberry detection in natural environments remains challenging due to variable natural lighting, frequent occlusions by leaves and branches, and motion blur due to environmental factors and imaging devices. AI models such as deep learning-based object detectors promise to address these challenges, but they are data-driven, demanding a large-scale, diverse dataset that captures the complexities of real-world orchard conditions. Deployment of these models in practical scenarios often faces limited computing resources, highlighting the importance of achieving the right accuracy/speed/memory trade-off in model selection. This study presents a novel comparative benchmark analysis of advanced real-time object detectors, including YOLO (You Only Look Once) (v8–v12) and RT-DETR (Real-Time Detection Transformers) (v1–v2) families, consisting of 36 model variants, evaluated on a newly curated large dataset for blueberry detection. This dataset contained 661 canopy images collected with smartphones during the 2022–2023 seasons, consisting of 85,879 manually annotated instances (including 36,256 ripe and 49,623 unripe blueberries) that represent a broad range of lighting conditions, occlusions, and fruit maturity stages. Among the YOLO models, YOLOv12m achieved the best accuracy with a mAP@50 of 93.3%, while RT-DETRv2-X obtained a mAP@50 of 93.6%, the highest among all RT-DETR variants. The inference time varied with the model scale and complexity, and the mid-sized models appeared to offer a good balance between accuracy and speed. To further improve fruit detection performance, all models were fine-tuned using Unbiased Mean Teacher-based semi-supervised learning (SSL) with 1644 cross-source unlabeled canopy images acquired from ground-based machine vision platforms. SSL resulted in accuracy improvements of up to 2.0%, with RT-DETR-v2-X achieving the highest mAP@50 of 95.5%. These findings highlight the efficacy of SSL for leveraging cross-domain unlabeled data, although further research is needed to fully exploit its benefits. The curated dataset and developed software programs are publicly available to facilitate further research and practical deployment.Keywords
All Related Versions
Funding Information
- U.S. Department of Agriculture Hatch Multistate Programmatic Funding
This publication has 43 references indexed in Scilit:
- Comprehensive performance evaluation of YOLOv12, YOLO11, YOLOv10, YOLOv9 and YOLOv8 on detecting and counting fruitlet in complex orchard environmentsAgriculture Communications, 2026
- Geometry‐Aware 3D Point Cloud Learning for Precise Cutting‐Point Detection in Unstructured Field EnvironmentsJournal of Field Robotics, 2025
- Deep learning framework for fruit counting and yield mapping in tart cherry using YOLOv8 and YOLO11Smart Agricultural Technology, 2025
- In-field blueberry fruit phenotyping with a MARS-PhenoBot and customized BerryNetComputers and Electronics in Agriculture, 2025
- Detection, counting, and maturity assessment of blueberries in canopy images using YOLOv8 and YOLOv9Smart Agricultural Technology, 2024
- Agricultural object detection with You Only Look Once (YOLO) Algorithm: A bibliometric and systematic literature reviewComputers and Electronics in Agriculture, 2024
- YOLOWeeds: A novel benchmark of YOLO object detectors for multi-class weed detection in cotton production systemsComputers and Electronics in Agriculture, 2023
- Weakly and semi-supervised detection, segmentation and tracking of table grapes with limited and noisy dataComputers and Electronics in Agriculture, 2023
- Detection of fruit maturity stage and yield estimation in wild blueberry using deep learning convolutional neural networksSmart Agricultural Technology, 2022
- Daily Blueberry Consumption Improves Blood Pressure and Arterial Stiffness in Postmenopausal Women with Pre- and Stage 1-Hypertension: A Randomized, Double-Blind, Placebo-Controlled Clinical TrialJournal of the Academy of Nutrition and Dietetics, 2015