Cargando…

Detection and localization of citrus fruit based on improved You Only Look Once v5s and binocular vision in the orchard

Intelligent detection and localization of mature citrus fruits is a critical challenge in developing an automatic harvesting robot. Variable illumination conditions and different occlusion states are some of the essential issues that must be addressed for the accurate detection and localization of c...

Descripción completa

Detalles Bibliográficos
Autores principales: Hou, Chaojun, Zhang, Xiaodi, Tang, Yu, Zhuang, Jiajun, Tan, Zhiping, Huang, Huasheng, Chen, Weilin, Wei, Sheng, He, Yong, Luo, Shaoming
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/PMC9372459/
https://www.ncbi.nlm.nih.gov/pubmed/35968138
http://dx.doi.org/10.3389/fpls.2022.972445
_version_ 1784767387902410752
author Hou, Chaojun
Zhang, Xiaodi
Tang, Yu
Zhuang, Jiajun
Tan, Zhiping
Huang, Huasheng
Chen, Weilin
Wei, Sheng
He, Yong
Luo, Shaoming
author_facet Hou, Chaojun
Zhang, Xiaodi
Tang, Yu
Zhuang, Jiajun
Tan, Zhiping
Huang, Huasheng
Chen, Weilin
Wei, Sheng
He, Yong
Luo, Shaoming
author_sort Hou, Chaojun
collection PubMed
description Intelligent detection and localization of mature citrus fruits is a critical challenge in developing an automatic harvesting robot. Variable illumination conditions and different occlusion states are some of the essential issues that must be addressed for the accurate detection and localization of citrus in the orchard environment. In this paper, a novel method for the detection and localization of mature citrus using improved You Only Look Once (YOLO) v5s with binocular vision is proposed. First, a new loss function (polarity binary cross-entropy with logit loss) for YOLO v5s is designed to calculate the loss value of class probability and objectness score, so that a large penalty for false and missing detection is applied during the training process. Second, to recover the missing depth information caused by randomly overlapping background participants, Cr-Cb chromatic mapping, the Otsu thresholding algorithm, and morphological processing are successively used to extract the complete shape of the citrus, and the kriging method is applied to obtain the best linear unbiased estimator for the missing depth value. Finally, the citrus spatial position and posture information are obtained according to the camera imaging model and the geometric features of the citrus. The experimental results show that the recall rates of citrus detection under non-uniform illumination conditions, weak illumination, and well illumination are 99.55%, 98.47%, and 98.48%, respectively, approximately 2–9% higher than those of the original YOLO v5s network. The average error of the distance between the citrus fruit and the camera is 3.98 mm, and the average errors of the citrus diameters in the 3D direction are less than 2.75 mm. The average detection time per frame is 78.96 ms. The results indicate that our method can detect and localize citrus fruits in the complex environment of orchards with high accuracy and speed. Our dataset and codes are available at https://github.com/AshesBen/citrus-detection-localization.
format Online
Article
Text
id pubmed-9372459
institution National Center for Biotechnology Information
language English
publishDate 2022
publisher Frontiers Media S.A.
record_format MEDLINE/PubMed
spelling pubmed-93724592022-08-13 Detection and localization of citrus fruit based on improved You Only Look Once v5s and binocular vision in the orchard Hou, Chaojun Zhang, Xiaodi Tang, Yu Zhuang, Jiajun Tan, Zhiping Huang, Huasheng Chen, Weilin Wei, Sheng He, Yong Luo, Shaoming Front Plant Sci Plant Science Intelligent detection and localization of mature citrus fruits is a critical challenge in developing an automatic harvesting robot. Variable illumination conditions and different occlusion states are some of the essential issues that must be addressed for the accurate detection and localization of citrus in the orchard environment. In this paper, a novel method for the detection and localization of mature citrus using improved You Only Look Once (YOLO) v5s with binocular vision is proposed. First, a new loss function (polarity binary cross-entropy with logit loss) for YOLO v5s is designed to calculate the loss value of class probability and objectness score, so that a large penalty for false and missing detection is applied during the training process. Second, to recover the missing depth information caused by randomly overlapping background participants, Cr-Cb chromatic mapping, the Otsu thresholding algorithm, and morphological processing are successively used to extract the complete shape of the citrus, and the kriging method is applied to obtain the best linear unbiased estimator for the missing depth value. Finally, the citrus spatial position and posture information are obtained according to the camera imaging model and the geometric features of the citrus. The experimental results show that the recall rates of citrus detection under non-uniform illumination conditions, weak illumination, and well illumination are 99.55%, 98.47%, and 98.48%, respectively, approximately 2–9% higher than those of the original YOLO v5s network. The average error of the distance between the citrus fruit and the camera is 3.98 mm, and the average errors of the citrus diameters in the 3D direction are less than 2.75 mm. The average detection time per frame is 78.96 ms. The results indicate that our method can detect and localize citrus fruits in the complex environment of orchards with high accuracy and speed. Our dataset and codes are available at https://github.com/AshesBen/citrus-detection-localization. Frontiers Media S.A. 2022-07-29 /pmc/articles/PMC9372459/ /pubmed/35968138 http://dx.doi.org/10.3389/fpls.2022.972445 Text en Copyright © 2022 Hou, Zhang, Tang, Zhuang, Tan, Huang, Chen, Wei, He and Luo. 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
Hou, Chaojun
Zhang, Xiaodi
Tang, Yu
Zhuang, Jiajun
Tan, Zhiping
Huang, Huasheng
Chen, Weilin
Wei, Sheng
He, Yong
Luo, Shaoming
Detection and localization of citrus fruit based on improved You Only Look Once v5s and binocular vision in the orchard
title Detection and localization of citrus fruit based on improved You Only Look Once v5s and binocular vision in the orchard
title_full Detection and localization of citrus fruit based on improved You Only Look Once v5s and binocular vision in the orchard
title_fullStr Detection and localization of citrus fruit based on improved You Only Look Once v5s and binocular vision in the orchard
title_full_unstemmed Detection and localization of citrus fruit based on improved You Only Look Once v5s and binocular vision in the orchard
title_short Detection and localization of citrus fruit based on improved You Only Look Once v5s and binocular vision in the orchard
title_sort detection and localization of citrus fruit based on improved you only look once v5s and binocular vision in the orchard
topic Plant Science
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9372459/
https://www.ncbi.nlm.nih.gov/pubmed/35968138
http://dx.doi.org/10.3389/fpls.2022.972445
work_keys_str_mv AT houchaojun detectionandlocalizationofcitrusfruitbasedonimprovedyouonlylookoncev5sandbinocularvisionintheorchard
AT zhangxiaodi detectionandlocalizationofcitrusfruitbasedonimprovedyouonlylookoncev5sandbinocularvisionintheorchard
AT tangyu detectionandlocalizationofcitrusfruitbasedonimprovedyouonlylookoncev5sandbinocularvisionintheorchard
AT zhuangjiajun detectionandlocalizationofcitrusfruitbasedonimprovedyouonlylookoncev5sandbinocularvisionintheorchard
AT tanzhiping detectionandlocalizationofcitrusfruitbasedonimprovedyouonlylookoncev5sandbinocularvisionintheorchard
AT huanghuasheng detectionandlocalizationofcitrusfruitbasedonimprovedyouonlylookoncev5sandbinocularvisionintheorchard
AT chenweilin detectionandlocalizationofcitrusfruitbasedonimprovedyouonlylookoncev5sandbinocularvisionintheorchard
AT weisheng detectionandlocalizationofcitrusfruitbasedonimprovedyouonlylookoncev5sandbinocularvisionintheorchard
AT heyong detectionandlocalizationofcitrusfruitbasedonimprovedyouonlylookoncev5sandbinocularvisionintheorchard
AT luoshaoming detectionandlocalizationofcitrusfruitbasedonimprovedyouonlylookoncev5sandbinocularvisionintheorchard