Detection of Pear Inflorescence Based on Improved Ghost-YOLOv5s-BiFPN Algorithm

Mechanized and intelligent flower thinning is a high-speed flower thinning method nowadays. The classification and detection of flowers and flower buds are the basic requirements to ensure the normal operation of the flower thinning machine. Aiming at the problems of pear inflorescence detection and...

Full description

Bibliographic Details
Main Authors: XIA Ye, LEI Xiaohui, QI Yannan, XU Tao, YUAN Quanchun, PAN Jian, JIANG Saike, LYU Xiaolan
Format: Article
Language:English
Published: Editorial Office of Smart Agriculture 2022-09-01
Series:智慧农业
Subjects:
Online Access:http://www.smartag.net.cn/CN/10.12133/j.smartag.SA202207006
_version_ 1811180006320111616
author XIA Ye
LEI Xiaohui
QI Yannan
XU Tao
YUAN Quanchun
PAN Jian
JIANG Saike
LYU Xiaolan
author_facet XIA Ye
LEI Xiaohui
QI Yannan
XU Tao
YUAN Quanchun
PAN Jian
JIANG Saike
LYU Xiaolan
author_sort XIA Ye
collection DOAJ
description Mechanized and intelligent flower thinning is a high-speed flower thinning method nowadays. The classification and detection of flowers and flower buds are the basic requirements to ensure the normal operation of the flower thinning machine. Aiming at the problems of pear inflorescence detection and classification in the current intelligent production of pear orchards, a Y-shaped shed pear orchard inflorescence recognition algorithm Ghost-YOLOv5s-BiFPN based on improved YOLOv5s was proposed in this research. The detection model was obtained by labeling and expanding the pear tree bud and flower images collected in the field and sending them to the algorithm for training. The Ghost-YOLOv5s-BiFPN algorithm used the weighted bidirectional feature pyramid network to replace the original path aggregation network structure, and effectively fuse the features of different sizes. At the same time, ghost module was used to replace the traditional convolution, so as to reduce the amount of model parameters and improve the operation efficiency of the equipment without reducing the accuracy. The field experiment results showed that the detection accuracy of the Ghost-YOLOv5s-BiFPN algorithm for the bud and flower in the pear inflorescence were 93.21% and 89.43%, respectively, with an average accuracy of 91.32%, and the detection time of a single image was 29 ms. Compared with the original YOLOv5s algorithm, the detection accuracy was improved by 4.18%, and the detection time and model parameters were reduced by 9 ms and 46.63% respectively. Compared with the original YOLOV5s network, the mAP and recall rate were improved by 4.2% and 2.7%, respectively; the number of parameters, model size and floating point operations were reduced by 46.6%, 44.4% and 47.5% respectively, and the average detection time was shortened by 9 ms. With Ghost convolution and BIFPN adding model, the detection accuracy has been improved to a certain extent, and the model has been greatly lightweight, effectively improving the detect efficiency. From the thermodynamic diagram results, it can be seen that BIFPN structure effectively enhances the representation ability of features, making the model more effective in focusing on the corresponding features of the target. The results showed that the algorithm can meet the requirements of accurate identification and classification of pear buds and flowers, and provide technical support for the follow-up pear garden to achieve intelligent flower thinning.
first_indexed 2024-04-11T06:43:09Z
format Article
id doaj.art-fae53beba6c94c1099ee4936b85d6106
institution Directory Open Access Journal
issn 2096-8094
language English
last_indexed 2024-04-11T06:43:09Z
publishDate 2022-09-01
publisher Editorial Office of Smart Agriculture
record_format Article
series 智慧农业
spelling doaj.art-fae53beba6c94c1099ee4936b85d61062022-12-22T04:39:25ZengEditorial Office of Smart Agriculture智慧农业2096-80942022-09-014310811910.12133/j.smartag.SA202207006SA202207006Detection of Pear Inflorescence Based on Improved Ghost-YOLOv5s-BiFPN AlgorithmXIA Ye0LEI Xiaohui1QI Yannan2XU Tao3YUAN Quanchun4PAN Jian5JIANG Saike6LYU Xiaolan7Institute of Agricultural Facilities and Equipment, Jiangsu Academy of Agricultural Sciences / Key Laboratory of Modern Horticultural Equipment, Ministry of Agriculture and Rural Affairs, Nanjing 210014, ChinaInstitute of Agricultural Facilities and Equipment, Jiangsu Academy of Agricultural Sciences / Key Laboratory of Modern Horticultural Equipment, Ministry of Agriculture and Rural Affairs, Nanjing 210014, ChinaInstitute of Agricultural Facilities and Equipment, Jiangsu Academy of Agricultural Sciences / Key Laboratory of Modern Horticultural Equipment, Ministry of Agriculture and Rural Affairs, Nanjing 210014, ChinaInstitute of Agricultural Facilities and Equipment, Jiangsu Academy of Agricultural Sciences / Key Laboratory of Modern Horticultural Equipment, Ministry of Agriculture and Rural Affairs, Nanjing 210014, ChinaInstitute of Agricultural Facilities and Equipment, Jiangsu Academy of Agricultural Sciences / Key Laboratory of Modern Horticultural Equipment, Ministry of Agriculture and Rural Affairs, Nanjing 210014, ChinaInstitute of Agricultural Facilities and Equipment, Jiangsu Academy of Agricultural Sciences / Key Laboratory of Modern Horticultural Equipment, Ministry of Agriculture and Rural Affairs, Nanjing 210014, ChinaInstitute of Agricultural Facilities and Equipment, Jiangsu Academy of Agricultural Sciences / Key Laboratory of Modern Horticultural Equipment, Ministry of Agriculture and Rural Affairs, Nanjing 210014, ChinaInstitute of Agricultural Facilities and Equipment, Jiangsu Academy of Agricultural Sciences / Key Laboratory of Modern Horticultural Equipment, Ministry of Agriculture and Rural Affairs, Nanjing 210014, ChinaMechanized and intelligent flower thinning is a high-speed flower thinning method nowadays. The classification and detection of flowers and flower buds are the basic requirements to ensure the normal operation of the flower thinning machine. Aiming at the problems of pear inflorescence detection and classification in the current intelligent production of pear orchards, a Y-shaped shed pear orchard inflorescence recognition algorithm Ghost-YOLOv5s-BiFPN based on improved YOLOv5s was proposed in this research. The detection model was obtained by labeling and expanding the pear tree bud and flower images collected in the field and sending them to the algorithm for training. The Ghost-YOLOv5s-BiFPN algorithm used the weighted bidirectional feature pyramid network to replace the original path aggregation network structure, and effectively fuse the features of different sizes. At the same time, ghost module was used to replace the traditional convolution, so as to reduce the amount of model parameters and improve the operation efficiency of the equipment without reducing the accuracy. The field experiment results showed that the detection accuracy of the Ghost-YOLOv5s-BiFPN algorithm for the bud and flower in the pear inflorescence were 93.21% and 89.43%, respectively, with an average accuracy of 91.32%, and the detection time of a single image was 29 ms. Compared with the original YOLOv5s algorithm, the detection accuracy was improved by 4.18%, and the detection time and model parameters were reduced by 9 ms and 46.63% respectively. Compared with the original YOLOV5s network, the mAP and recall rate were improved by 4.2% and 2.7%, respectively; the number of parameters, model size and floating point operations were reduced by 46.6%, 44.4% and 47.5% respectively, and the average detection time was shortened by 9 ms. With Ghost convolution and BIFPN adding model, the detection accuracy has been improved to a certain extent, and the model has been greatly lightweight, effectively improving the detect efficiency. From the thermodynamic diagram results, it can be seen that BIFPN structure effectively enhances the representation ability of features, making the model more effective in focusing on the corresponding features of the target. The results showed that the algorithm can meet the requirements of accurate identification and classification of pear buds and flowers, and provide technical support for the follow-up pear garden to achieve intelligent flower thinning.http://www.smartag.net.cn/CN/10.12133/j.smartag.SA202207006pear flowerintelligent recognitionyolov5sbifpnlightweight model
spellingShingle XIA Ye
LEI Xiaohui
QI Yannan
XU Tao
YUAN Quanchun
PAN Jian
JIANG Saike
LYU Xiaolan
Detection of Pear Inflorescence Based on Improved Ghost-YOLOv5s-BiFPN Algorithm
智慧农业
pear flower
intelligent recognition
yolov5s
bifpn
lightweight model
title Detection of Pear Inflorescence Based on Improved Ghost-YOLOv5s-BiFPN Algorithm
title_full Detection of Pear Inflorescence Based on Improved Ghost-YOLOv5s-BiFPN Algorithm
title_fullStr Detection of Pear Inflorescence Based on Improved Ghost-YOLOv5s-BiFPN Algorithm
title_full_unstemmed Detection of Pear Inflorescence Based on Improved Ghost-YOLOv5s-BiFPN Algorithm
title_short Detection of Pear Inflorescence Based on Improved Ghost-YOLOv5s-BiFPN Algorithm
title_sort detection of pear inflorescence based on improved ghost yolov5s bifpn algorithm
topic pear flower
intelligent recognition
yolov5s
bifpn
lightweight model
url http://www.smartag.net.cn/CN/10.12133/j.smartag.SA202207006
work_keys_str_mv AT xiaye detectionofpearinflorescencebasedonimprovedghostyolov5sbifpnalgorithm
AT leixiaohui detectionofpearinflorescencebasedonimprovedghostyolov5sbifpnalgorithm
AT qiyannan detectionofpearinflorescencebasedonimprovedghostyolov5sbifpnalgorithm
AT xutao detectionofpearinflorescencebasedonimprovedghostyolov5sbifpnalgorithm
AT yuanquanchun detectionofpearinflorescencebasedonimprovedghostyolov5sbifpnalgorithm
AT panjian detectionofpearinflorescencebasedonimprovedghostyolov5sbifpnalgorithm
AT jiangsaike detectionofpearinflorescencebasedonimprovedghostyolov5sbifpnalgorithm
AT lyuxiaolan detectionofpearinflorescencebasedonimprovedghostyolov5sbifpnalgorithm