A System for Detection and Recognition of Pests in Stored-Grain Based on Video Analysis

Ying Yang, Bo Peng, Jianqin WangIFIP 2011 · OpenAlex

Introduction

Pests in stored grain represent a significant economic challenge, particularly in large agricultural economies like China, where annual losses exceed one billion Yuan. Monitoring pest species and density is essential for quality control, yet traditional manual counting is slow and prone to human error. While static machine vision systems offer a faster alternative, they struggle with two primary issues: high noise-induced detection errors and the inability to distinguish between living and dead pests. National grain standards prioritize living pest density, as dead insects do not pose an ongoing threat to the stock.

This paper introduces a video-based analysis system designed to detect and identify pests in stored grain. By moving beyond static image processing and utilizing continuous video streams, the system can distinguish between living and dead pests while significantly reducing errors caused by noise and pest movement.

System Architecture

The proposed system is divided into two main components: a hardware Video Collection Subsystem and a software Video Processing Subsystem.

The system architecture consists of a hardware collection unit and a software processing pipeline.

Hardware Setup

The hardware utilizes a "pump-like" sampling device that extracts grain samples and places them onto a conveyor belt. The belt moves at a constant speed, ensuring a single layer of grain passes under a CCD camera. Continuous video is captured at 25 frames per second (fps) under stable LED illumination, providing a consistent environment for automated analysis.

Software Pipeline

The video processing involves three sequential modules:

  1. Pest Detection: Potential pests are segmented using image sharpening and K-means clustering. To filter out noise, the system employs multi-frame verification, ensuring that a detected object persists across consecutive frames.
  2. Living Pest Counting: By applying a six-parameter affine model, the system compensates for the "global motion" of the conveyor belt. Any remaining "local motion" is attributed to the movement of a living pest.
  3. Pest Recognition: Features such as texture, area, and gray value are extracted and classified using a Support Vector Machine (SVM). The system averages probability scores across multiple frames to ensure robust identification.

Key Innovations in Video Analysis

The core strength of this system lies in its use of temporal redundancy. By analyzing a sequence of frames rather than isolated images, the system can effectively filter out transient noise and track objects through a "searching window" logic.

The system uses a searching window to track pests across consecutive frames, facilitating motion analysis.

Distinguishing Living Pests

A critical requirement for grain quality assessment is the exclusion of dead pests from the count. Static images cannot make this distinction. By modeling the conveyor's movement as global motion, the system can isolate the independent movement of insects. This geometric approach transforms a complex biological recognition task into a motion estimation problem, aligning the technology with national regulatory standards.

Results and Discussion

While the paper focuses on the architectural design, it highlights several qualitative advantages over static methods. The system is more robust against re-counting errors caused by pest movement and is the first of its kind to automate the living/dead distinction. The SVM classifier is trained using custom samples of pests, with probability averaging across video segments making the system robust to temporary occlusions or awkward pest orientations.

Conclusion and Limitations

While the system is a significant step forward, a few limitations remain. The system's performance depends on maintaining a single layer of grain on the conveyor; high-density samples where pests are buried would likely decrease accuracy. Additionally, while the hardware is more cost-effective than X-ray systems, it still requires a specialized mechanical setup, which may limit its portability for on-site field inspections. Future work will likely focus on providing extensive quantitative benchmarks and optimizing the hardware for broader deployment.

Reference: Yang, Y., Peng, B., & Wang, J. (2011). A System for Detection and Recognition of Pests in Stored-Grain Based on Video Analysis. In D. Li, Y. Liu, & Y. Chen (Eds.), CCTA 2010, Part I, IFIP AICT 344, pp. 119–124.

Summary updated

BibTeX
@inproceedings{yang2011system,
  author = {Ying Yang and Bo Peng and Jianqin Wang},
  title = {{A System for Detection and Recognition of Pests in Stored-Grain Based on Video Analysis}},
  booktitle = {IFIP},
  year = {2011},
  doi = {10.1007/978-3-642-18333-1\_16},
}

Loading related content...

Figure