`stepSize` is a factor of the detector window height. Thus, should be roughly `y+=(scaleFactor*cols)`