A vehicle detection scheme based on two-dimensional HOG features in the DFT and DCT domains