The detection method of pests in stored grain is always investigated. The method of based on image recognition is often discussed.The wavelet transform is the localization analysis of time and frequency, and it can multi-scale refine the signal by calculating of flex and transition. This paper presents a method of using the wavelet transform to detect the image of pests in stored grain edge based on the multi-scale analysis of the wavelet transform in the image processing field. The method acquires the information of the image edge by detecting the image local maxima of the two-dimension wavel...