# Convolutional Neural Networks for Image-based Corn Kernel Detection and Counting

arXiv: https://arxiv.org/abs/2003.12025 · HTML: https://mlsanity.com/paper/2003.12025/

## Key facts

- Cited by 5 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 26 Mar 2020.

## Built on by (most cited first, 5 of 5)

- [WheatNet: A Lightweight Convolutional Neural Network for High-throughput Image-based Wheat Head Detection and Counting](https://mlsanity.com/paper/2103.09408/) (2021)
- [Superpixels and Graph Convolutional Neural Networks for Efficient Detection of Nutrient Deficiency Stress from Aerial Imagery](https://mlsanity.com/paper/2104.10249/) (2021)
- [An Applied Deep Learning Approach for Estimating Soybean Relative Maturity from UAV Imagery to Aid Plant Breeding Decisions](https://mlsanity.com/paper/2108.00952/) (2021)
- [Automated Seed Quality Testing System using GAN & Active Learning](https://mlsanity.com/paper/2110.00777/) (2021)
- [Hinting Pipeline and Multivariate Regression CNN for Maize Kernel Counting on the Ear](https://mlsanity.com/paper/2306.06553/) (2023)

## Abstract (arXiv)

Precise in-season corn grain yield estimates enable farmers to make real-time accurate harvest and grain marketing decisions minimizing possible losses of profitability. A well developed corn ear can have up to 800 kernels, but manually counting the kernels on an ear of corn is labor-intensive, time consuming and prone to human error. From an algorithmic perspective, the detection of the kernels from a single corn ear image is challenging due to the large number of kernels at different angles and very small distance among the kernels. In this paper, we propose a kernel detection and counting method based on a sliding window approach. The proposed method detect and counts all corn kernels in a single corn ear image taken in uncontrolled lighting conditions. The sliding window approach uses a convolutional neural network (CNN) for kernel detection. Then, a non-maximum suppression (NMS) is applied to remove overlapping detections. Finally, windows that are classified as kernel are passed to another CNN regression model for finding the (x,y) coordinates of the center of kernel image patches. Our experiments indicate that the proposed method can successfully detect the corn kernels with a low detection error and is also able to detect kernels on a batch of corn ears positioned at different angles.
