Paper record
Estimation of Coffee Plantation Production Using Segmentation and Deep Learning Techniques
16 Jul 2024 · 10.20944/preprints202407.1114.v1
Abstract
Coffee is one of the most valuable agricultural products worldwide, and it is crucial to have efficient tools to obtain reliable information about production. This study aims to estimate coffee plantation production using segmentation and deep learning techniques in RGB images. Photographs of coffee plants were taken in Tabaconas, San Ignacio-Cajamarca, to create a dataset of crops during the harvest stage. The images were segmented to detect coffee fruits. A deep learning method was developed with YOLOv5 to detect the fruits and OpenCV to count them. The results showed that YOLOv5 achieved an accuracy of 97.25%, a recall of 95.77%, and an F1-Score of 96.37%, demonstrating high reliability in detecting coffee fruits. The average detection time per image was 17.9 seconds. The metrics were evaluated using a confusion matrix, highlighting the model's good performance. In conclusion, segmentation and deep learning techniques, along with counting algorithms developed with OpenCV, proved effective for estimating coffee production. This approach provides a valuable tool for farmers, improving crop management and facilitating decision-making in precision agriculture.
Code and data availability
The paper describes a self-collected coffee image dataset (201 field photographs, augmented to 1001) and a YOLOv5/OpenCV pipeline, but nowhere states that the dataset, images, trained model, or analysis code are publicly available; no repository, deposit, or authors' URL is provided. All URLs in the text are citations,
No evidence-backed public reproduction asset is currently recorded.