import numpy as np
from PIL import Image
from matplotlib import pyplot as pl
crop_left = np.random.randint(24, 64)
print(crop_left)
im = Image.open('C:\\Users\\SML\\Desktop\\CNN\\TestSamples\\Ges_0\\1897-5.0.png')
fig = pl.figure()
ax = fig.add_subplot(121)
ax.imshow(im)
pl.show()
Matplotlib 打开图像
猜你喜欢
转载自blog.csdn.net/Sml_banzhuiyixi/article/details/80283610
今日推荐
周排行