Computer Vision-Aided Intelligent Monitoring of Coffee: Towards Sustainable Coffee Production

Francisco Eron,Muhammad Noman,Raphael Ricon de Oliveira,Antonio Chalfun-Junior
DOI: https://doi.org/10.1016/j.scienta.2024.112847
IF: 4.3
2024-01-15
Scientia Horticulturae
Abstract:Earlier, researchers have employed computer vision-based automatic fruit detection to estimate coffee yield at the time of harvest, however, studies on the on-plant quantification of the coffee fruit are scarce. In this study, the latest version of the state-of-the-art algorithm YOLOv7 (You Only Look Once) was used for the first time. YOLOv7 was trained with 324 annotated images of fruit bearing coffee branches followed by its evaluation with 82 annotated images as validation data (supervised method) and then tested through raw images (unannotated) as test data. Meanwhile, the K-means models were trained which led to machine-generated color classes of coffee fruit for semi-supervised image annotation. Consequently, the developed model efficiently analyzed the test data with an (mean average precision) of 0.89. Strikingly, our innovative semi-supervised method with an of 0.77 for multi-class mode surpassed the supervised method which had of only 0.60, leading to faster and more accurate annotation. While testing the yield estimation of the model in two plots, an average error of 3.78% was recorded between the predicted (pre-harvest) and ground truth (harvest) data for binary class mode. The average error for multi-class data was recorded as 3.87% for green, 3.445% for green-yellow, 5.09% for cherry-raisin, and 2.51% for dry fruits. This AI-based technology when integrated with other tools such as UAV would efficiently remotely monitor coffee field for informed decision about irrigation, fertilizer application and other measures of timely field management, hence advancing precision agriculture. Moreover, this machine learning intelligent model can be tailored for various other fruit farming.
horticulture
What problem does this paper attempt to address?