← Papers

Paper record

Maturity Recognition and Fruit Counting for Sweet Peppers in Greenhouses Using Deep Learning Neural Networks

Luis David Viveros Escamilla · Alfonso Gómez-Espinosa · Jesús Arturo Escobedo Cabello · Jose Antonio Cantoral-Ceballos

Agriculture · 20 Feb 2024 · 10.3390/agriculture14030331

Abstract

This study presents an approach to address the challenges of recognizing the maturity stage and counting sweet peppers of varying colors (green, yellow, orange, and red) within greenhouse environments. The methodology leverages the YOLOv5 model for real-time object detection, classification, and localization, coupled with the DeepSORT algorithm for efficient tracking. The system was successfully implemented to monitor sweet pepper production, and some challenges related to this environment, namely occlusions and the presence of leaves and branches, were effectively overcome. We evaluated our algorithm using real-world data collected in a sweet pepper greenhouse. A dataset comprising 1863 images was meticulously compiled to enhance the study, incorporating diverse sweet pepper varieties and maturity levels. Additionally, the study emphasized the role of confidence levels in object recognition, achieving a confidence level of 0.973. Furthermore, the DeepSORT algorithm was successfully applied for counting sweet peppers, demonstrating an accuracy level of 85.7% in two simulated environments under challenging conditions, such as varied lighting and inaccuracies in maturity level assessment.

Code and data availability

The authors explicitly state their dataset and supporting data are publicly available via their own GitHub repository (YOLOv5 + DeepSORT sweet pepper detection/counting), with an exact URL given in the text and Data Availability Statement. The Kaggle and Roboflow datasets are cited external/prior datasets, not paper-.

Datasetpublic

Data Availability Statement: The data that support the findings of this study are available on GitHub via [41].

Open resource ↗pdf-raw-page:29 lines:1-51