[python]Display image with matplot

2021-5-27 写技术

import matplotlib.pyplot as plt

#plt.figure()
img = plt.imread(image_path)
plt.imshow(img)
plt.show()

标签: python

发表评论:

Powered by anycle 湘ICP备15001973号-1