Wavelet image recognition