A innovative wavelet transformation method optimization in the noise-canceling application within intelligent building occupancy detection monitoring