Cargando…
Fast and precise detection of litchi fruits for yield estimation based on the improved YOLOv5 model
The fast and precise detection of dense litchi fruits and the determination of their maturity is of great practical significance for yield estimation in litchi orchards and robot harvesting. Factors such as complex growth environment, dense distribution, and random occlusion by leaves, branches, and...
Autores principales: | , , , , , |
---|---|
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/PMC9396223/ https://www.ncbi.nlm.nih.gov/pubmed/36017261 http://dx.doi.org/10.3389/fpls.2022.965425 |
_version_ | 1784771882044620800 |
---|---|
author | Wang, Lele Zhao, Yingjie Xiong, Zhangjun Wang, Shizhou Li, Yuanhong Lan, Yubin |
author_facet | Wang, Lele Zhao, Yingjie Xiong, Zhangjun Wang, Shizhou Li, Yuanhong Lan, Yubin |
author_sort | Wang, Lele |
collection | PubMed |
description | The fast and precise detection of dense litchi fruits and the determination of their maturity is of great practical significance for yield estimation in litchi orchards and robot harvesting. Factors such as complex growth environment, dense distribution, and random occlusion by leaves, branches, and other litchi fruits easily cause the predicted output based on computer vision deviate from the actual value. This study proposed a fast and precise litchi fruit detection method and application software based on an improved You Only Look Once version 5 (YOLOv5) model, which can be used for the detection and yield estimation of litchi in orchards. First, a dataset of litchi with different maturity levels was established. Second, the YOLOv5s model was chosen as a base version of the improved model. ShuffleNet v2 was used as the improved backbone network, and then the backbone network was fine-tuned to simplify the model structure. In the feature fusion stage, the CBAM module was introduced to further refine litchi’s effective feature information. Considering the characteristics of the small size of dense litchi fruits, the 1,280 × 1,280 was used as the improved model input size while we optimized the network structure. To evaluate the performance of the proposed method, we performed ablation experiments and compared it with other models on the test set. The results showed that the improved model’s mean average precision (mAP) presented a 3.5% improvement and 62.77% compression in model size compared with the original model. The improved model size is 5.1 MB, and the frame per second (FPS) is 78.13 frames/s at a confidence of 0.5. The model performs well in precision and robustness in different scenarios. In addition, we developed an Android application for litchi counting and yield estimation based on the improved model. It is known from the experiment that the correlation coefficient R(2) between the application test and the actual results was 0.9879. In summary, our improved method achieves high precision, lightweight, and fast detection performance at large scales. The method can provide technical means for portable yield estimation and visual recognition of litchi harvesting robots. |
format | Online Article Text |
id | pubmed-9396223 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2022 |
publisher | Frontiers Media S.A. |
record_format | MEDLINE/PubMed |
spelling | pubmed-93962232022-08-24 Fast and precise detection of litchi fruits for yield estimation based on the improved YOLOv5 model Wang, Lele Zhao, Yingjie Xiong, Zhangjun Wang, Shizhou Li, Yuanhong Lan, Yubin Front Plant Sci Plant Science The fast and precise detection of dense litchi fruits and the determination of their maturity is of great practical significance for yield estimation in litchi orchards and robot harvesting. Factors such as complex growth environment, dense distribution, and random occlusion by leaves, branches, and other litchi fruits easily cause the predicted output based on computer vision deviate from the actual value. This study proposed a fast and precise litchi fruit detection method and application software based on an improved You Only Look Once version 5 (YOLOv5) model, which can be used for the detection and yield estimation of litchi in orchards. First, a dataset of litchi with different maturity levels was established. Second, the YOLOv5s model was chosen as a base version of the improved model. ShuffleNet v2 was used as the improved backbone network, and then the backbone network was fine-tuned to simplify the model structure. In the feature fusion stage, the CBAM module was introduced to further refine litchi’s effective feature information. Considering the characteristics of the small size of dense litchi fruits, the 1,280 × 1,280 was used as the improved model input size while we optimized the network structure. To evaluate the performance of the proposed method, we performed ablation experiments and compared it with other models on the test set. The results showed that the improved model’s mean average precision (mAP) presented a 3.5% improvement and 62.77% compression in model size compared with the original model. The improved model size is 5.1 MB, and the frame per second (FPS) is 78.13 frames/s at a confidence of 0.5. The model performs well in precision and robustness in different scenarios. In addition, we developed an Android application for litchi counting and yield estimation based on the improved model. It is known from the experiment that the correlation coefficient R(2) between the application test and the actual results was 0.9879. In summary, our improved method achieves high precision, lightweight, and fast detection performance at large scales. The method can provide technical means for portable yield estimation and visual recognition of litchi harvesting robots. Frontiers Media S.A. 2022-08-09 /pmc/articles/PMC9396223/ /pubmed/36017261 http://dx.doi.org/10.3389/fpls.2022.965425 Text en Copyright © 2022 Wang, Zhao, Xiong, Wang, Li and Lan. 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 Wang, Lele Zhao, Yingjie Xiong, Zhangjun Wang, Shizhou Li, Yuanhong Lan, Yubin Fast and precise detection of litchi fruits for yield estimation based on the improved YOLOv5 model |
title | Fast and precise detection of litchi fruits for yield estimation based on the improved YOLOv5 model |
title_full | Fast and precise detection of litchi fruits for yield estimation based on the improved YOLOv5 model |
title_fullStr | Fast and precise detection of litchi fruits for yield estimation based on the improved YOLOv5 model |
title_full_unstemmed | Fast and precise detection of litchi fruits for yield estimation based on the improved YOLOv5 model |
title_short | Fast and precise detection of litchi fruits for yield estimation based on the improved YOLOv5 model |
title_sort | fast and precise detection of litchi fruits for yield estimation based on the improved yolov5 model |
topic | Plant Science |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9396223/ https://www.ncbi.nlm.nih.gov/pubmed/36017261 http://dx.doi.org/10.3389/fpls.2022.965425 |
work_keys_str_mv | AT wanglele fastandprecisedetectionoflitchifruitsforyieldestimationbasedontheimprovedyolov5model AT zhaoyingjie fastandprecisedetectionoflitchifruitsforyieldestimationbasedontheimprovedyolov5model AT xiongzhangjun fastandprecisedetectionoflitchifruitsforyieldestimationbasedontheimprovedyolov5model AT wangshizhou fastandprecisedetectionoflitchifruitsforyieldestimationbasedontheimprovedyolov5model AT liyuanhong fastandprecisedetectionoflitchifruitsforyieldestimationbasedontheimprovedyolov5model AT lanyubin fastandprecisedetectionoflitchifruitsforyieldestimationbasedontheimprovedyolov5model |