TY - JOUR
T1 - Deep Learning based flower detection and counting in highly populated images
T2 - A peach grove case study
AU - Estrada, Juan Sebastian
AU - Vasconez, Juan Pablo
AU - Fu, Longsheng
AU - Cheein, Fernando Auat
N1 - Publisher Copyright:
© 2023 The Authors
PY - 2024/3
Y1 - 2024/3
N2 - Farmers and producers need to estimate crop yield in order to plan and allocate human and economic resources during the harvesting season. For many crops, such as peach groves, the number of fruits is correlated with the number of flowers produced by each tree. Therefore, estimating the number of flowers in peach groves can serve as a good indicator of crop yield, disregarding climate hazards. However, in peach groves, tree images present several challenges, including a high number of flowers, interference from distant trees, and occlusion between elements. These issues pose a difficult task for computer vision and machine learning techniques. In this study, we propose the utilization of state-of-the-art deep learning techniques for image detection purposes; namely the YOLO architectures on its versions 5, 7, and 8 and their different size models (n, s, m, l, x); as well as predicting object density using multi-column in densely populated images, using a multi-column deep neural network. The methodology was tested on a new dataset comprising 600 images of peach trees during the blooming season, in the region of Catalonia, Spain. Out of these, 400 images were used to train the model, while 100 were allocated for testing and another 100 for validation. The counting results were evaluated using metrics such as Mean Squared Error (MSE), Mean Absolute Error (MAE), and percentage error (%Err). For the detection algorithms, metrics such as accuracy, precision, recall, and mean average precision were utilized, alongside metrics for evaluating the counting process. The experiments demonstrated that predicting the density map yielded better results in the counting process, achieving an MAE of 39.13, RMSE of 69.69, and a percentage error of 9.98. The detection algorithm that exhibited superior performance was YOLOv7x, with metrics of MAE 152.7, RMSE 212.9, and a percentage error of 29.7 %. These results indicate that, for counting purposes, predicting the density map produced better overall outcomes.
AB - Farmers and producers need to estimate crop yield in order to plan and allocate human and economic resources during the harvesting season. For many crops, such as peach groves, the number of fruits is correlated with the number of flowers produced by each tree. Therefore, estimating the number of flowers in peach groves can serve as a good indicator of crop yield, disregarding climate hazards. However, in peach groves, tree images present several challenges, including a high number of flowers, interference from distant trees, and occlusion between elements. These issues pose a difficult task for computer vision and machine learning techniques. In this study, we propose the utilization of state-of-the-art deep learning techniques for image detection purposes; namely the YOLO architectures on its versions 5, 7, and 8 and their different size models (n, s, m, l, x); as well as predicting object density using multi-column in densely populated images, using a multi-column deep neural network. The methodology was tested on a new dataset comprising 600 images of peach trees during the blooming season, in the region of Catalonia, Spain. Out of these, 400 images were used to train the model, while 100 were allocated for testing and another 100 for validation. The counting results were evaluated using metrics such as Mean Squared Error (MSE), Mean Absolute Error (MAE), and percentage error (%Err). For the detection algorithms, metrics such as accuracy, precision, recall, and mean average precision were utilized, alongside metrics for evaluating the counting process. The experiments demonstrated that predicting the density map yielded better results in the counting process, achieving an MAE of 39.13, RMSE of 69.69, and a percentage error of 9.98. The detection algorithm that exhibited superior performance was YOLOv7x, with metrics of MAE 152.7, RMSE 212.9, and a percentage error of 29.7 %. These results indicate that, for counting purposes, predicting the density map produced better overall outcomes.
KW - Deep learning
KW - Density maps
KW - High-density images
KW - Peach flower counting
KW - YOLO detection
UR - http://www.scopus.com/inward/record.url?scp=85180582116&partnerID=8YFLogxK
U2 - 10.1016/j.jafr.2023.100930
DO - 10.1016/j.jafr.2023.100930
M3 - Article
AN - SCOPUS:85180582116
SN - 2666-1543
VL - 15
JO - Journal of Agriculture and Food Research
JF - Journal of Agriculture and Food Research
M1 - 100930
ER -