Detection of individual trees of bayberry using improved YOLOv7

被引:0
作者
Wang K. [1 ]
Chen Y. [1 ]
Xu H. [1 ]
机构
[1] School of Civil and Surveying Engineering, Jiangxi University of Science and Technology, Ganzhou
来源
Nongye Gongcheng Xuebao/Transactions of the Chinese Society of Agricultural Engineering | 2024年 / 40卷 / 11期
关键词
bayberry trees; image recognition; individual tree detection; object detection; YOLOv7;
D O I
10.11975/j.issn.1002-6819.202401091
中图分类号
学科分类号
摘要
Individual tree detection of bayberry trees can greatly contribute to the precise management, accurate prediction of yield, scientific irrigation and pest control. However, most of the commonly-used traditional techniques (such as remote sensing images) are limited to the digital development of orchards at present, due to the cumbersome process and low efficiency. This study aims to rapidly detect and count the number of bayberry trees using deep learning. An improved YOLOv7-ACGDmix model was proposed to detect the individual tree using the You Only Look Once version 7 (YOLOv7) model. Firstly, the Extended-Efficient Long-Range Attention Networks module of YOLOv7 was improved to integrate the mixed model. Both convolution and attention mechanisms modules (AC-E-ELAN, self-Attention and Convolution extended-efficient long-range attention networks) were obtained to enhance the learning and reasoning of the original model. The accuracy of model was achieved to recognize the bayberry tree individuals with blurred or heavily occluded boundaries in dense scenes; Secondly, the deformable convolutional networks version 2 was added into the E-ELAN (extended-efficient long-range attention networks) module. The DCNv2-E-ElAN (deformable convolutional networks version 2 extended-efficient long-range attention networks) module was then obtained to detect the features of different sizes, especially small features and intensive situations; Thirdly, the Content-Aware ReAssembly of Features upsampling operator was used to reduce the feature information loss of the input image in the network sensory field; Fourthly, the global attention mechanism was introduced to reduce the interference of complex background on the model. The reasonable filling was realized to correct the feature information, in order to improve the detection performance of the model; Finally, the Wise Intersection over Union loss function was used to reduce the competitiveness of the high-quality anchor box and the harmful gradient that generated by low-quality samples. The overall performance of the neural network was improved after that. A series of experiments were conducted on an open dataset. A total of 611 images were divided into a training set, validation set, and test set, according to 8:1:1. The test set was further divided into simple, complex and special scenes to test the robustness and generalization of the improved model. A comparison was then made with the mainstream models, respectively. The experimental results showed that the YOLOv7-ACGDmix model was significantly improved the leakage detection, compared with the original network. The precision rate, the recall rate, the mean average precision, and the F1-score were 89.1%, 89.0%, 95.1% and 89.0%, respectively, which were 1.8, 4.0, 2.3, and 3.0 percentage points higher than the original YOLOv7 model, respectively. The mean average precision of improved model was improved by 9.8, 2.2, 0.7, and 2.3 percentage points, compared with the Faster R-CNN, SSD, YOLOv8, and the original YOLOv7 model, respectively. Finally, a field-collected dataset was tested to verify the performance. In summary, this finding can provide an effective solution to detect the individual bayberry trees using unmanned aerial vehicle imagery in the precision management of orchards. © 2024 Chinese Society of Agricultural Engineering. All rights reserved.
引用
收藏
页码:159 / 167
页数:8
相关论文
共 30 条
[11]  
ZHENG Z, WU M, CHEN L, Et al., A robust and efficient citrus counting approach for large-scale unstructured orchards, Agricultural Systems, 215, (2024)
[12]  
CHEN Y, XU H, ZHANG X, Et al., An object detection method for bayberry trees based on an improved YOLO algorithm, International Journal of Digital Earth, 16, 1, pp. 781-805, (2023)
[13]  
BAO Wenxia, XIE Wenjie, HU Gensheng, Et al., Wheat ear counting method in UAV images based on TPH-YOLO, Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 39, 1, pp. 155-161, (2023)
[14]  
LI Shanjun, HU Dingyi, GAO Shumin, Et al., Real-time classification and detection of citrus based on improved single short multibox detecter, Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 35, 24, pp. 307-313, (2019)
[15]  
WANG C Y, BOCHKOVSKIY A, LIAO H Y M., YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors, Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 7464-7475, (2023)
[16]  
YANG F, ZHANG X, LIU B., Video object tracking based on YOLOv7 and DeepSORT
[17]  
TRAN D N-N, PHAM L H, NGUYEN H-H, Et al., City-scale multi-camera vehicle tracking of vehicles based on YOLOv7, Proceedings of the 2022 IEEE International Conference on Consumer Electronics-Asia (ICCE-Asia), pp. 1-4, (2022)
[18]  
ZHAO K, ZHAO L, ZHAO Y, Et al., Study on lightweight model of maize seedling object detection based on YOLOv7, Applied Sciences-Basel, 13, 13, (2023)
[19]  
XIA Y, NGUYEN M, YAN W Q., A real-time kiwifruit detection based on improved YOLOv7, International Conference on Image and Vision Computing, pp. 48-61, (2022)
[20]  
BADEKA E, KARAPATZAK E, KARAMPATEA A, Et al., A deep learning approach for precision viticulture, assessing grape maturity via YOLOv7, Sensors (Basel), 23, 19, (2023)