Cargando…

A Dragon Fruit Picking Detection Method Based on YOLOv7 and PSP-Ellipse

Dragon fruit is one of the most popular fruits in China and Southeast Asia. It, however, is mainly picked manually, imposing high labor intensity on farmers. The hard branches and complex postures of dragon fruit make it difficult to achieve automated picking. For picking dragon fruits with diverse...

Descripción completa

Detalles Bibliográficos
Autores principales: Zhou, Jialiang, Zhang, Yueyue, Wang, Jinpeng
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2023
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10141975/
https://www.ncbi.nlm.nih.gov/pubmed/37112144
http://dx.doi.org/10.3390/s23083803
_version_ 1785033500931391488
author Zhou, Jialiang
Zhang, Yueyue
Wang, Jinpeng
author_facet Zhou, Jialiang
Zhang, Yueyue
Wang, Jinpeng
author_sort Zhou, Jialiang
collection PubMed
description Dragon fruit is one of the most popular fruits in China and Southeast Asia. It, however, is mainly picked manually, imposing high labor intensity on farmers. The hard branches and complex postures of dragon fruit make it difficult to achieve automated picking. For picking dragon fruits with diverse postures, this paper proposes a new dragon fruit detection method, not only to identify and locate the dragon fruit, but also to detect the endpoints that are at the head and root of the dragon fruit, which can provide more visual information for the dragon fruit picking robot. First, YOLOv7 is used to locate and classify the dragon fruit. Then, we propose a PSP-Ellipse method to further detect the endpoints of the dragon fruit, including dragon fruit segmentation via PSPNet, endpoints positioning via an ellipse fitting algorithm and endpoints classification via ResNet. To test the proposed method, some experiments are conducted. In dragon fruit detection, the precision, recall and average precision of YOLOv7 are 0.844, 0.924 and 0.932, respectively. YOLOv7 also performs better compared with some other models. In dragon fruit segmentation, the segmentation performance of PSPNet on dragon fruit is better than some other commonly used semantic segmentation models, with the segmentation precision, recall and mean intersection over union being 0.959, 0.943 and 0.906, respectively. In endpoints detection, the distance error and angle error of endpoints positioning based on ellipse fitting are 39.8 pixels and 4.3°, and the classification accuracy of endpoints based on ResNet is 0.92. The proposed PSP-Ellipse method makes a great improvement compared with two kinds of keypoint regression method based on ResNet and UNet. Orchard picking experiments verified that the method proposed in this paper is effective. The detection method proposed in this paper not only promotes the progress of the automatic picking of dragon fruit, but it also provides a reference for other fruit detection.
format Online
Article
Text
id pubmed-10141975
institution National Center for Biotechnology Information
language English
publishDate 2023
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-101419752023-04-29 A Dragon Fruit Picking Detection Method Based on YOLOv7 and PSP-Ellipse Zhou, Jialiang Zhang, Yueyue Wang, Jinpeng Sensors (Basel) Article Dragon fruit is one of the most popular fruits in China and Southeast Asia. It, however, is mainly picked manually, imposing high labor intensity on farmers. The hard branches and complex postures of dragon fruit make it difficult to achieve automated picking. For picking dragon fruits with diverse postures, this paper proposes a new dragon fruit detection method, not only to identify and locate the dragon fruit, but also to detect the endpoints that are at the head and root of the dragon fruit, which can provide more visual information for the dragon fruit picking robot. First, YOLOv7 is used to locate and classify the dragon fruit. Then, we propose a PSP-Ellipse method to further detect the endpoints of the dragon fruit, including dragon fruit segmentation via PSPNet, endpoints positioning via an ellipse fitting algorithm and endpoints classification via ResNet. To test the proposed method, some experiments are conducted. In dragon fruit detection, the precision, recall and average precision of YOLOv7 are 0.844, 0.924 and 0.932, respectively. YOLOv7 also performs better compared with some other models. In dragon fruit segmentation, the segmentation performance of PSPNet on dragon fruit is better than some other commonly used semantic segmentation models, with the segmentation precision, recall and mean intersection over union being 0.959, 0.943 and 0.906, respectively. In endpoints detection, the distance error and angle error of endpoints positioning based on ellipse fitting are 39.8 pixels and 4.3°, and the classification accuracy of endpoints based on ResNet is 0.92. The proposed PSP-Ellipse method makes a great improvement compared with two kinds of keypoint regression method based on ResNet and UNet. Orchard picking experiments verified that the method proposed in this paper is effective. The detection method proposed in this paper not only promotes the progress of the automatic picking of dragon fruit, but it also provides a reference for other fruit detection. MDPI 2023-04-07 /pmc/articles/PMC10141975/ /pubmed/37112144 http://dx.doi.org/10.3390/s23083803 Text en © 2023 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Zhou, Jialiang
Zhang, Yueyue
Wang, Jinpeng
A Dragon Fruit Picking Detection Method Based on YOLOv7 and PSP-Ellipse
title A Dragon Fruit Picking Detection Method Based on YOLOv7 and PSP-Ellipse
title_full A Dragon Fruit Picking Detection Method Based on YOLOv7 and PSP-Ellipse
title_fullStr A Dragon Fruit Picking Detection Method Based on YOLOv7 and PSP-Ellipse
title_full_unstemmed A Dragon Fruit Picking Detection Method Based on YOLOv7 and PSP-Ellipse
title_short A Dragon Fruit Picking Detection Method Based on YOLOv7 and PSP-Ellipse
title_sort dragon fruit picking detection method based on yolov7 and psp-ellipse
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10141975/
https://www.ncbi.nlm.nih.gov/pubmed/37112144
http://dx.doi.org/10.3390/s23083803
work_keys_str_mv AT zhoujialiang adragonfruitpickingdetectionmethodbasedonyolov7andpspellipse
AT zhangyueyue adragonfruitpickingdetectionmethodbasedonyolov7andpspellipse
AT wangjinpeng adragonfruitpickingdetectionmethodbasedonyolov7andpspellipse
AT zhoujialiang dragonfruitpickingdetectionmethodbasedonyolov7andpspellipse
AT zhangyueyue dragonfruitpickingdetectionmethodbasedonyolov7andpspellipse
AT wangjinpeng dragonfruitpickingdetectionmethodbasedonyolov7andpspellipse