Cargando…

Research and Implementation of Millet Ear Detection Method Based on Lightweight YOLOv5

As the millet ears are dense, small in size, and serious occlusion in the complex grain field scene, the target detection model suitable for this environment requires high computing power, and it is difficult to deploy the real-time detection of millet ears on mobile devices. A lightweight real-time...

Descripción completa

Detalles Bibliográficos
Autores principales: Qiu, Shujin, Li, Yun, Gao, Jian, Li, Xiaobin, Yuan, Xiangyang, Liu, Zhenyu, Cui, Qingliang, Wu, Cuiqing
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2023
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10675272/
https://www.ncbi.nlm.nih.gov/pubmed/38005575
http://dx.doi.org/10.3390/s23229189
_version_ 1785149800240381952
author Qiu, Shujin
Li, Yun
Gao, Jian
Li, Xiaobin
Yuan, Xiangyang
Liu, Zhenyu
Cui, Qingliang
Wu, Cuiqing
author_facet Qiu, Shujin
Li, Yun
Gao, Jian
Li, Xiaobin
Yuan, Xiangyang
Liu, Zhenyu
Cui, Qingliang
Wu, Cuiqing
author_sort Qiu, Shujin
collection PubMed
description As the millet ears are dense, small in size, and serious occlusion in the complex grain field scene, the target detection model suitable for this environment requires high computing power, and it is difficult to deploy the real-time detection of millet ears on mobile devices. A lightweight real-time detection method for millet ears is based on YOLOv5. First, the YOLOv5s model is improved by replacing the YOLOv5s backbone feature extraction network with the MobilenetV3 lightweight model to reduce model size. Then, using the multi-feature fusion detection structure, the micro-scale detection layer is augmented to reduce high-level feature maps and low-level feature maps. The Merge-NMS technique is used in post-processing for target information loss to reduce the influence of boundary blur on the detection effect and increase the detection accuracy of small and obstructed targets. Finally, the models reconstructed by different improved methods are trained and tested on the self-built millet ear data set. The AP value of the improved model in this study reaches 97.78%, F(1)-score is 94.20%, and the model size is only 7.56 MB, which is 53.28% of the standard YoloV5s model size, and has a better detection speed. Compared with other classical target detection models, it shows strong robustness and generalization ability. The lightweight model performs better in the detection of pictures and videos in the Jetson Nano. The results show that the improved lightweight YOLOv5 millet detection model in this study can overcome the influence of complex environments, and significantly improve the detection effect of millet under dense distribution and occlusion conditions. The millet detection model is deployed on the Jetson Nano, and the millet detection system is implemented based on the PyQt5 framework. The detection accuracy and detection speed of the millet detection system can meet the actual needs of intelligent agricultural machinery equipment and has a good application prospect.
format Online
Article
Text
id pubmed-10675272
institution National Center for Biotechnology Information
language English
publishDate 2023
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-106752722023-11-15 Research and Implementation of Millet Ear Detection Method Based on Lightweight YOLOv5 Qiu, Shujin Li, Yun Gao, Jian Li, Xiaobin Yuan, Xiangyang Liu, Zhenyu Cui, Qingliang Wu, Cuiqing Sensors (Basel) Article As the millet ears are dense, small in size, and serious occlusion in the complex grain field scene, the target detection model suitable for this environment requires high computing power, and it is difficult to deploy the real-time detection of millet ears on mobile devices. A lightweight real-time detection method for millet ears is based on YOLOv5. First, the YOLOv5s model is improved by replacing the YOLOv5s backbone feature extraction network with the MobilenetV3 lightweight model to reduce model size. Then, using the multi-feature fusion detection structure, the micro-scale detection layer is augmented to reduce high-level feature maps and low-level feature maps. The Merge-NMS technique is used in post-processing for target information loss to reduce the influence of boundary blur on the detection effect and increase the detection accuracy of small and obstructed targets. Finally, the models reconstructed by different improved methods are trained and tested on the self-built millet ear data set. The AP value of the improved model in this study reaches 97.78%, F(1)-score is 94.20%, and the model size is only 7.56 MB, which is 53.28% of the standard YoloV5s model size, and has a better detection speed. Compared with other classical target detection models, it shows strong robustness and generalization ability. The lightweight model performs better in the detection of pictures and videos in the Jetson Nano. The results show that the improved lightweight YOLOv5 millet detection model in this study can overcome the influence of complex environments, and significantly improve the detection effect of millet under dense distribution and occlusion conditions. The millet detection model is deployed on the Jetson Nano, and the millet detection system is implemented based on the PyQt5 framework. The detection accuracy and detection speed of the millet detection system can meet the actual needs of intelligent agricultural machinery equipment and has a good application prospect. MDPI 2023-11-15 /pmc/articles/PMC10675272/ /pubmed/38005575 http://dx.doi.org/10.3390/s23229189 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
Qiu, Shujin
Li, Yun
Gao, Jian
Li, Xiaobin
Yuan, Xiangyang
Liu, Zhenyu
Cui, Qingliang
Wu, Cuiqing
Research and Implementation of Millet Ear Detection Method Based on Lightweight YOLOv5
title Research and Implementation of Millet Ear Detection Method Based on Lightweight YOLOv5
title_full Research and Implementation of Millet Ear Detection Method Based on Lightweight YOLOv5
title_fullStr Research and Implementation of Millet Ear Detection Method Based on Lightweight YOLOv5
title_full_unstemmed Research and Implementation of Millet Ear Detection Method Based on Lightweight YOLOv5
title_short Research and Implementation of Millet Ear Detection Method Based on Lightweight YOLOv5
title_sort research and implementation of millet ear detection method based on lightweight yolov5
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10675272/
https://www.ncbi.nlm.nih.gov/pubmed/38005575
http://dx.doi.org/10.3390/s23229189
work_keys_str_mv AT qiushujin researchandimplementationofmilleteardetectionmethodbasedonlightweightyolov5
AT liyun researchandimplementationofmilleteardetectionmethodbasedonlightweightyolov5
AT gaojian researchandimplementationofmilleteardetectionmethodbasedonlightweightyolov5
AT lixiaobin researchandimplementationofmilleteardetectionmethodbasedonlightweightyolov5
AT yuanxiangyang researchandimplementationofmilleteardetectionmethodbasedonlightweightyolov5
AT liuzhenyu researchandimplementationofmilleteardetectionmethodbasedonlightweightyolov5
AT cuiqingliang researchandimplementationofmilleteardetectionmethodbasedonlightweightyolov5
AT wucuiqing researchandimplementationofmilleteardetectionmethodbasedonlightweightyolov5