Cargando…

Improved YOLOv4 recognition algorithm for pitaya based on coordinate attention and combinational convolution

Accurate recognition method of pitaya in natural environment provides technical support for automatic picking. Aiming at the intricate spatial position relationship between pitaya fruits and branches, a pitaya recognition method based on improved YOLOv4 was proposed. GhostNet feature extraction netw...

Descripción completa

Detalles Bibliográficos
Autores principales: Zhang, Fu, Cao, Weihua, Wang, Shunqing, Cui, Xiahua, Yang, Ning, Wang, Xinyue, Zhang, Xiaodong, Fu, Sanling
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Frontiers Media S.A. 2022
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9623319/
https://www.ncbi.nlm.nih.gov/pubmed/36330245
http://dx.doi.org/10.3389/fpls.2022.1030021
_version_ 1784821972040941568
author Zhang, Fu
Cao, Weihua
Wang, Shunqing
Cui, Xiahua
Yang, Ning
Wang, Xinyue
Zhang, Xiaodong
Fu, Sanling
author_facet Zhang, Fu
Cao, Weihua
Wang, Shunqing
Cui, Xiahua
Yang, Ning
Wang, Xinyue
Zhang, Xiaodong
Fu, Sanling
author_sort Zhang, Fu
collection PubMed
description Accurate recognition method of pitaya in natural environment provides technical support for automatic picking. Aiming at the intricate spatial position relationship between pitaya fruits and branches, a pitaya recognition method based on improved YOLOv4 was proposed. GhostNet feature extraction network was used instead of CSPDarkNet53 as the backbone network of YOLOv4. A structure of generating a large number of feature maps through a small amount of calculation was used, and the redundant information in feature layer was obtained with lower computational cost, which can reduce the number of parameters and computation of the model. Coordinate attention was introduced to enhance the extraction of fine-grained feature of targets. An improved combinational convolution module was designed to save computing power and prevent the loss of effective features and improve the recognition accuracy. The Ghost Module was referenced in Yolo Head to improve computing speed and reduce delay. Precision, Recall, F1, AP, detection speed and weight size were selected as performance evaluation indexes of recognition model. 8800 images of pitaya fruit in different environments were used as the dataset, which were randomly divided into the training set, the validation set and the test set according to the ratio of 7:1:2. The research results show that the recognition accuracy of the improved YOLOv4 model for pitaya fruit is 99.23%. Recall, F1 and AP are 95.10%, 98% and 98.94%, respectively. The detection speed is 37.2 frames·s(-1), and the weight size is 59.4MB. The improved YOLOv4 recognition algorithm can meet the requirements for the accuracy and the speed of pitaya fruit recognition in natural environment, which will ensure the rapid and accurate operation of the picking robot.
format Online
Article
Text
id pubmed-9623319
institution National Center for Biotechnology Information
language English
publishDate 2022
publisher Frontiers Media S.A.
record_format MEDLINE/PubMed
spelling pubmed-96233192022-11-02 Improved YOLOv4 recognition algorithm for pitaya based on coordinate attention and combinational convolution Zhang, Fu Cao, Weihua Wang, Shunqing Cui, Xiahua Yang, Ning Wang, Xinyue Zhang, Xiaodong Fu, Sanling Front Plant Sci Plant Science Accurate recognition method of pitaya in natural environment provides technical support for automatic picking. Aiming at the intricate spatial position relationship between pitaya fruits and branches, a pitaya recognition method based on improved YOLOv4 was proposed. GhostNet feature extraction network was used instead of CSPDarkNet53 as the backbone network of YOLOv4. A structure of generating a large number of feature maps through a small amount of calculation was used, and the redundant information in feature layer was obtained with lower computational cost, which can reduce the number of parameters and computation of the model. Coordinate attention was introduced to enhance the extraction of fine-grained feature of targets. An improved combinational convolution module was designed to save computing power and prevent the loss of effective features and improve the recognition accuracy. The Ghost Module was referenced in Yolo Head to improve computing speed and reduce delay. Precision, Recall, F1, AP, detection speed and weight size were selected as performance evaluation indexes of recognition model. 8800 images of pitaya fruit in different environments were used as the dataset, which were randomly divided into the training set, the validation set and the test set according to the ratio of 7:1:2. The research results show that the recognition accuracy of the improved YOLOv4 model for pitaya fruit is 99.23%. Recall, F1 and AP are 95.10%, 98% and 98.94%, respectively. The detection speed is 37.2 frames·s(-1), and the weight size is 59.4MB. The improved YOLOv4 recognition algorithm can meet the requirements for the accuracy and the speed of pitaya fruit recognition in natural environment, which will ensure the rapid and accurate operation of the picking robot. Frontiers Media S.A. 2022-10-18 /pmc/articles/PMC9623319/ /pubmed/36330245 http://dx.doi.org/10.3389/fpls.2022.1030021 Text en Copyright © 2022 Zhang, Cao, Wang, Cui, Yang, Wang, Zhang and Fu https://creativecommons.org/licenses/by/4.0/This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
spellingShingle Plant Science
Zhang, Fu
Cao, Weihua
Wang, Shunqing
Cui, Xiahua
Yang, Ning
Wang, Xinyue
Zhang, Xiaodong
Fu, Sanling
Improved YOLOv4 recognition algorithm for pitaya based on coordinate attention and combinational convolution
title Improved YOLOv4 recognition algorithm for pitaya based on coordinate attention and combinational convolution
title_full Improved YOLOv4 recognition algorithm for pitaya based on coordinate attention and combinational convolution
title_fullStr Improved YOLOv4 recognition algorithm for pitaya based on coordinate attention and combinational convolution
title_full_unstemmed Improved YOLOv4 recognition algorithm for pitaya based on coordinate attention and combinational convolution
title_short Improved YOLOv4 recognition algorithm for pitaya based on coordinate attention and combinational convolution
title_sort improved yolov4 recognition algorithm for pitaya based on coordinate attention and combinational convolution
topic Plant Science
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9623319/
https://www.ncbi.nlm.nih.gov/pubmed/36330245
http://dx.doi.org/10.3389/fpls.2022.1030021
work_keys_str_mv AT zhangfu improvedyolov4recognitionalgorithmforpitayabasedoncoordinateattentionandcombinationalconvolution
AT caoweihua improvedyolov4recognitionalgorithmforpitayabasedoncoordinateattentionandcombinationalconvolution
AT wangshunqing improvedyolov4recognitionalgorithmforpitayabasedoncoordinateattentionandcombinationalconvolution
AT cuixiahua improvedyolov4recognitionalgorithmforpitayabasedoncoordinateattentionandcombinationalconvolution
AT yangning improvedyolov4recognitionalgorithmforpitayabasedoncoordinateattentionandcombinationalconvolution
AT wangxinyue improvedyolov4recognitionalgorithmforpitayabasedoncoordinateattentionandcombinationalconvolution
AT zhangxiaodong improvedyolov4recognitionalgorithmforpitayabasedoncoordinateattentionandcombinationalconvolution
AT fusanling improvedyolov4recognitionalgorithmforpitayabasedoncoordinateattentionandcombinationalconvolution