Real-Time Detection System of Broken Corn Kernels Based on BCK-YOLOv7

Author:

Wang Qihuan12,Yang Haolin12,He Qianghao1,Yue Dong1,Zhang Ce1,Geng Duanyang12

Affiliation:

1. School of Agricultural Engineering and Food Science, Shandong University of Technology, Zibo 255000, China

2. Shandong Provincial Key Laboratory of Dry Farming Machinery and Information, Zibo 255000, China

Abstract

Accurately and effectively measuring the breaking quality of harvested corn kernels is a critical step in the intelligent development of corn harvesters. The detection of broken corn kernels is complicated during the harvesting process due to turbulent corn kernel movement, uneven lighting, and interference from numerous external factors. This paper develops a deep learning-based detection method in real time for broken corn kernels in response to these issues. The system uses an image acquisition device to continuously acquire high-quality corn kernel image data and cooperates with a deep learning model to realize the rapid and accurate recognition of broken corn kernels. First, we defined the range of broken corn kernels based on image characteristics captured by the acquisition device and prepared the corn kernel datasets. The corn kernels in the acquired image were densely distributed, and the highly similar features of broken and whole corn kernels brough challenges to the system for visual recognition. To address this problem, we propose an improved model called BCK-YOLOv7, which is based on YOLOv7. We fine-tuned the model’s positive sample matching strategy and added a transformer encoder block module and coordinate attention mechanism, among other strategies. Ablation experiments demonstrate that our approach improves the BCK-YOLOv7 model’s ability to learn effectively broken corn kernel features, even when high-density features are similar. The improved model achieved a precision rate of 96.9%, a recall rate of 97.5%, and a mAP of 99.1%, representing respective improvements of 3.7%, 4.3%, and 2.8% over the original YOLOv7 model. To optimize and deploy the BCK-YOLOv7 model to the edge device (NVIDIA Jetson Nano), TensorRT was utilized, resulting in an impressive inference speed of 33 FPS. Finally, the simulation system experiment for corn kernel broken rate detection was performed. The results demonstrate that the system’s mean absolute deviation is merely 0.35 percent compared to that of manual statistical results. The main contribution of this work is the fact that this is the first time that a set of deep learning model improvement strategies and methods are proposed to deal with the problem of rapid and accurate corn kernel detection under the conditions of high density and similar features.

Funder

National Key R&D Program of China

Natural Science Foundation of Shandong Province

Modern Agricultural Industrial System of Shandong Province

Publisher

MDPI AG

Subject

Agronomy and Crop Science

Reference29 articles.

1. Advantages Analysis of Corn Planting in China;Wang;J. Agric. Sci. Tech. China,2018

2. Current state and suggestions for mechanical harvesting of corn in China;Xie;J. Integr. Agric.,2022

3. Study of corn kernel breakage susceptibility as a function of its moisture content by using a laboratory grinding method;Guo;J. Integr. Agric.,2022

4. Computer vision based food grain classification: A comprehensive survey;Velesaca;Comput. Electron. Agric.,2021

5. Research Progress of Rapid Optical Detection Technology and Equipment for Grain Quality;Sen;Nongye Jixie Xuebao/Trans. Chin. Soc. Agric. Mach. (China),2022

Cited by 4 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

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

www.globalauthorid.com

TOP

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