Skip to content

Instantly share code, notes, and snippets.

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