Author
Listed:
- David Ribeiro
(Department of Agricultural Engineering, Federal University of Lavras, Lavras 37200-900, Brazil)
- Dennis Tavares
(Department of Agricultural Engineering, Federal University of Lavras, Lavras 37200-900, Brazil)
- Eduardo Tiradentes
(Department of Agricultural Engineering, Federal University of Lavras, Lavras 37200-900, Brazil)
- Fabio Santos
(Department of Agricultural Engineering, Federal University of Lavras, Lavras 37200-900, Brazil)
- Demostenes Rodriguez
(Department of Computer Science, Federal University of Lavras, Lavras 37200-900, Brazil)
Abstract
The automated detection and classification of immature macauba ( Acrocomia aculeata ) fruits is critical for improving post-harvest processing and quality control. In this study, we present a comparative evaluation of two state-of-the-art YOLO architectures, YOLOv11x and YOLOv12x, trained on the newly constructed VIC01 dataset comprising 1600 annotated images captured under both background-free and natural background conditions. Both models were implemented in PyTorch and trained until the convergence of box regression, classification, and distribution-focal losses. Under an IoU (intersection over union) threshold of 0.50, YOLOv11x and YOLOv12x achieved an identical mean average precision ( mAP 50 ) of 0.995 with perfect precision and recall or TPR (true positive rate). Averaged over IoU thresholds from 0.50 to 0.95, YOLOv11x demonstrated superior spatial localization performance ( mAP 50–95 = 0.973), while YOLOv12x exhibited robust performance in complex background scenarios, achieving a competitive mAP 50–95 . Inference throughput averaged 3.9 ms per image for YOLOv11x and 6.7 ms for YOLOv12x, highlighting a trade-off between speed and architectural complexity. Fused model representations revealed optimized layer fusion and reduced computational overhead (GFLOPs), facilitating efficient deployment. Confusion-matrix analyses confirmed YOLOv11x’s ability to reject background clutter more effectively than YOLOv12x, whereas precision–recall and F1-score curves indicated both models maintain near-perfect detection balance across thresholds. The public release of the VIC01 dataset and trained weights ensures reproducibility and supports future research. Our results underscore the importance of selecting architectures based on application-specific requirements, balancing detection accuracy, background discrimination, and computational constraints. Future work will extend this framework to additional maturation stages, sensor fusion modalities, and lightweight edge-deployment variants. By facilitating precise immature fruit identification, this work contributes to sustainable production and value addition in macauba processing.
Suggested Citation
David Ribeiro & Dennis Tavares & Eduardo Tiradentes & Fabio Santos & Demostenes Rodriguez, 2025.
"Performance Evaluation of YOLOv11 and YOLOv12 Deep Learning Architectures for Automated Detection and Classification of Immature Macauba ( Acrocomia aculeata ) Fruits,"
Agriculture, MDPI, vol. 15(15), pages 1-24, July.
Handle:
RePEc:gam:jagris:v:15:y:2025:i:15:p:1571-:d:1707215
Download full text from publisher
Corrections
All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jagris:v:15:y:2025:i:15:p:1571-:d:1707215. See general information about how to correct material in RePEc.
If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.
We have no bibliographic references for this item. You can help adding them by using this form .
If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.
For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .
Please note that corrections may take a couple of weeks to filter through
the various RePEc services.