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

Author:

Qiu Shujin1,Li Yun1,Gao Jian1,Li Xiaobin1,Yuan Xiangyang2,Liu Zhenyu1,Cui Qingliang1,Wu Cuiqing1

Affiliation:

1. College of Agricultural Engineering, Shanxi Agriculture University, Jinzhong 030801, China

2. College of Agricultural, Shanxi Agricultural University, Jinzhong 030801, China

Abstract

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%, F1-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.

Funder

Scientific and Technological Innovation Programs of Higher Education Institutions in Shanxi

Fundamental Research Program of Shanxi Province

China Agriculture Research System

Doctoral Research Project of Shanxi Agricultural University

Modern Agro-industry Technology Research System

Publisher

MDPI AG

Subject

Electrical and Electronic Engineering,Biochemistry,Instrumentation,Atomic and Molecular Physics, and Optics,Analytical Chemistry

Reference29 articles.

1. Current status and future prospective of foxtail millet production and seed industry in China;Li;Sci. Agric. Sin.,2021

2. Advancing precision agriculture: The potential of deep learning for cereal plant head detection;Sanaeifar;Comput. Electron. Agric.,2023

3. Applications of deep learning in precision weed management: A review;Rai;Comput. Electron. Agric.,2023

4. AutoOLA: Automatic object level augmentation for wheat spikes counting;Amirhossein;Comput. Electron. Agric.,2023

5. A deep learning method for oriented and small wheat spike detection (OSWSDet) in UAV images;Zhao;Comput. Electron. Agric.,2022

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3