EconPapers    
Economics at your fingertips  
 

Performance Evaluation of YOLOv11 and YOLOv12 Deep Learning Architectures for Automated Detection and Classification of Immature Macauba ( Acrocomia aculeata ) Fruits

David Ribeiro (), Dennis Tavares, Eduardo Tiradentes, Fabio Santos and Demostenes Rodriguez
Additional contact information
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

Agriculture, 2025, vol. 15, issue 15, 1-24

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.

Keywords: artificial intelligence; convolutional neural networks; image processing; macauba; pattern recognition; precision agriculture (search for similar items in EconPapers)
JEL-codes: Q1 Q10 Q11 Q12 Q13 Q14 Q15 Q16 Q17 Q18 (search for similar items in EconPapers)
Date: 2025
References: Add references at CitEc
Citations:

Downloads: (external link)
https://www.mdpi.com/2077-0472/15/15/1571/pdf (application/pdf)
https://www.mdpi.com/2077-0472/15/15/1571/ (text/html)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:gam:jagris:v:15:y:2025:i:15:p:1571-:d:1707215

Access Statistics for this article

Agriculture is currently edited by Ms. Leda Xuan

More articles in Agriculture from MDPI
Bibliographic data for series maintained by MDPI Indexing Manager ().

 
Page updated 2025-07-23
Handle: RePEc:gam:jagris:v:15:y:2025:i:15:p:1571-:d:1707215