Skip to content

Instantly share code, notes, and snippets.

@kevakba
Created September 1, 2020 17:45
Show Gist options
  • Save kevakba/e4f66fa0c9f3866982162fee7f8618a6 to your computer and use it in GitHub Desktop.
Save kevakba/e4f66fa0c9f3866982162fee7f8618a6 to your computer and use it in GitHub Desktop.
PATH = "C:/Users/ADMIN/Desktop/Project/1/train/Ps/PS_1.bmp"
image = mpimg.imread(PATH)
plt.show()
plt.imshow(image)
plt.savefig('pitted_surface.png')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment