detect object on a downsized image