downscaling image before detecting faces