CAPs detenction and classification using wavelets