Capsicum Counting Algorithm Using Infrared Imaging and YOLO11
Fruit detection and counting is a key component of data-driven resource management and yield estimation in greenhouses. This work presents a novel infrared-based approach to capsicum counting in greenhouses that takes advantage of the light penetration of infrared (IR) imaging to enhance detection under challenging lighting conditions. The proposed capsicum counting pipeline integrates the YOLO11 detection model for capsicum identification and the BoT-SORT multi-object tracker to track detections across a video stream, enabling accurate fruit counting. The detector model is trained on a dataset of 1000 images, with 11,916 labeled capsicums, captured with an OAK-D pro camera mounted on a mobile robot inside a capsicum greenhouse. On the IR test set, the YOLO11m model achieved an F1-score of 0.82, while the tracker obtained a multiple object tracking accuracy (MOTA) of 0.85, correctly counting 67 of 70 capsicums in a representative greenhouse row. The results demonstrate the effectiveness of this IR-based approach in automating fruit counting in greenhouse environments, offering potential applications in yield estimation.
Authors
- José Antonio Cantoral-Ceballos (ORCID: https://orcid.org/0000-0001-5597-939X)
- Oscar Ochoa (ORCID: https://orcid.org/0000-0002-5963-8696)
- Enrico Méndez (ORCID: https://orcid.org/0000-0003-1851-3376)
- Jesús Arturo Escobedo Cabello (ORCID: https://orcid.org/0000-0002-2010-5155)
- Alfonso Gómez-Espinosa (ORCID: https://orcid.org/0000-0001-5657-380X)
Institutions
- Tecnológico de Monterrey (MX)
Publication Details
- Journal
- Agriculture
- Published
- 2025-12-12
- DOI
- https://doi.org/10.3390/agriculture15242574
- Primary Topic
- Smart Agriculture and AI
- Type
- article
- Field-Weighted Citation Impact
- 0.00