环境:Tensorflow 1.3 + Python2.7
一、PIL包打开图片
from PIL import Image
img = Image.open('test')
img.show()
二、对图像做金字塔化处理
pyramid = tuple(pyramid_gaussian(img, downscale = param.downscale))
detected_list = [0 for _ in xrange(len(pyramid))]
环境:Tensorflow 1.3 + Python2.7
一、PIL包打开图片
from PIL import Image
img = Image.open('test')
img.show()
二、对图像做金字塔化处理
pyramid = tuple(pyramid_gaussian(img, downscale = param.downscale))
detected_list = [0 for _ in xrange(len(pyramid))]