Recognizing and detecting the strawberry at multi-stages using improved lightweight YOLOv5s

被引:5
作者
Huang J. [1 ,3 ]
Zhao X. [1 ,3 ]
Gao F. [2 ,3 ]
Wen X. [2 ,3 ]
Jin S. [1 ,3 ]
Zhang Y. [1 ,3 ]
机构
[1] Department of Mechanical Engineering, Nanjing Institute of Technology, Nanjing
[2] Department of Automation, Nanjing Institute of Technology, Nanjing
[3] Jiangsu Intelligent Robot Bionics and Control Technology Engineering Research Center, Nanjing
来源
Nongye Gongcheng Xuebao/Transactions of the Chinese Society of Agricultural Engineering | 2023年 / 39卷 / 21期
关键词
image recognition; lightweight; mobile deployment; MobileNetV3; strawberry; YOLOv5s;
D O I
10.11975/j.issn.1002-6819.202307186
中图分类号
学科分类号
摘要
Strawberries have been one of the most popular fruits, due to their the taste and rich nutrition. However, the manual picking cannot fully meet the large-scale cultivation in recent years. Moreover, the short maturity cycle of strawberry can be easy to cause the decay of strawberry fruits, particularly for the untimely picking. Consequently, it is ever increasingly urgent to develop the automatic picking of strawberry. Among them, one of crucial links is the strawberry recognition and detection. The main challenge is to accurately detect the blocked and small target strawberries. In this study, an algorithm was proposed to recognize and detect the obstructed strawberries or the blur target using an improved lightweight Mobile-YOLOv5s. The objective was to enhance both the recognition accuracy and computational speed of strawberry identification during fruit picking. The two-fold strategy was used for the optimization. Firstly, a more lightweight MobileNetV3 network was selected to replace the backbone network of YOLOv5s. The recognition accuracy was improved to reduce the model size and computational complexity. Additionally, Alpha-IOU loss function was also introduced to accelerate the convergence speed of the model. At the same time, the Alpha parameter was used to flexibly adjust the loss function. The recognition accuracy was improved on the blocked and the overlap between strawberries. Secondly, K-Means++ clustering was added to optimize the anchor boxes in target detection. The detection accuracy of blocked strawberries was further optimized to strengthen the detection of small targets. The improved model was also better adapted to the targets with different sizes and shapes. At the same time, the number of detection heads increased to four, in order to expand the receptive field of the model for the detection accuracy of small targets. The experimental results showed that the higher efficacy of the improved model was achieved in the detection frame rate of 44 frames per second (FPS), indicating a significant 15.7% improvement over the original. Furthermore, the computational complexity was measured at 8.3×109 per second, with a substantial 48% reduction from the original. The parameter count was trimmed to 4.5MB with a 15.6% reduction than before. Importantly, the recognition accuracy of mature strawberries reached an impressive 99.5% with an average accuracy of 99.4%, surpassing the original YOLOv5s by 3.6 and 9.2 percentage points, respectively. The more rapid and accurate identification of strawberries was obtained at various stages of growth in practical terms. This technological advancement can hold the promise to realize the intelligent strawberry picking for the high efficiency and productivity in the cultivation of fruits. © 2023 Chinese Society of Agricultural Engineering. All rights reserved.
引用
收藏
页码:181 / 187
页数:6
相关论文
共 27 条
[1]  
6
[2]  
7, pp. 136-140
[3]  
7, pp. 91-96
[4]  
ISLAM M S, SCALISI A, O'CONNELL M G, Et al., A ground-based platform for reliable estimates of fruit number, size, and color in stone fruit orchards, HortTechnology, 32, 6, pp. 510-522, (2022)
[5]  
LIAKHOV D V, MITYUGOV N S, GRACHEVA I A, Et al., Scanned plant leaves boundary detection in the presence of a colored shadow, Pattern Recognition and Image Analysis, 32, 3, pp. 575-585, (2022)
[6]  
HUANG Xiaoyu, LI Guanglin, MA Chi, Et al., Green peach recognition based on improved discriminative regional feature integration algorithm in similar background, Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 34, 23, pp. 142-148, (2018)
[7]  
LIU Jie, LI Yan, XIAO Liming, Et al., Recognition and location method of orange based on improved YOLOv4 model, Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 38, 12, pp. 173-182, (2022)
[8]  
ZHANG Fu, CHEN Zijun, BAO Ruofei, Et al., Recognition of dense cherry tomatoes based on improved YOLOv4-LITE lightweight neural network, Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 37, 16, pp. 270-278, (2021)
[9]  
CHAKRAVARTHY A S, RAMAN S., Early blight identification in tomato leaves using deep learning, 2020 International Conference on Contemporary Computing and Applications: International Conference on Contemporary Computing and Applications (IC3A 2020), pp. 154-158, (2020)
[10]  
LI Tianhua, SUN Meng, DING Xiaoming, Et al., Tomato recognition method at the ripening stage based on YOLO v4 and HSV, Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 37, 21, pp. 183-190, (2021)