Dynamic real-time detection for corn kernel breakage rate based on deep learning and sliding window technology
• Propose a corn kernel detection technology that utilizes deep learning and sliding window technology; • Develop a real-time quantitative model for the corn kernels breakage rate; • Introduce the sliding window and pipeline technology to optimize model. Currently, the field of intelligent corn harvesting in China lacks effective methods for detecting corn kernel breakage. This paper explores and proposes a corn kernel detection technology that utilizes deep learning and sliding window technology, combined with a specially developed quantitative model, to enable real-time detection of the corn kernel breakage rate. In this study, we quantified the corn kernel mass at various levels of crushing and proposed a quantitative model for the corn kernel breakage rate, which is suitable for real-time computation by a computer vision system. We developed a specialized corn kernel detection device to generate high-quality datasets and retrain our previously proposed corn kernel breakage detection model (BCK-YOLOv7). Subsequently, ablation experiments were conducted to assess the generalization capability of the BCK-YOLOv7 model in corn kernel detection. Furthermore, we analyzed the limitations of single-frame detection through dynamic comparison experiments. To address the instability of single-frame detection results in the corn kernels flow state, we introduced the sliding window technique, which, along with pipeline technology, significantly enhances detection efficiency. Finally, the comprehensive performance of the proposed corn kernel breakage detection technology was validated through systematic testing. The results indicate that the relative error in the detection of the breakage rate remains around 7%, and the detection rate of the technology, when deployed on edge devices, can achieve 22 frames per second (FPS), thereby meeting the requirements for real-time detection of corn kernel breakage rate.
Authors
- Yancheng Sun
- Qihuan Wang
- Duanyang Geng (ORCID: https://orcid.org/0000-0003-0626-6179)
- Dong Yue (ORCID: https://orcid.org/0000-0001-7810-9338)
- Zhenwei Wang (ORCID: https://orcid.org/0000-0001-5309-0757)
- Jianning Yin
- Duanxin Li
- Qinghao He
- Pai‐Chen Guan
Institutions
- Shandong University of Technology (CN)
- Ministry of Agriculture and Rural Affairs (CN)
- Zaozhuang University (CN)
- Nanjing Institute of Agricultural Mechanization (CN)
Publication Details
- Journal
- Computers and Electronics in Agriculture
- Published
- 2025-02-06
- DOI
- https://doi.org/10.1016/j.compag.2025.109926
- Citations
- 8
- Primary Topic
- Smart Agriculture and AI
- Type
- article
- Field-Weighted Citation Impact
- 14.00
Funders
- Innovation Team Project for Modern Agricultural Industrious Technology System of Shandong Province
- Natural Science Foundation of Shandong Province