Skip to content

Instantly share code, notes, and snippets.

@MLWhiz
Created June 15, 2019 04:03
Show Gist options
  • Select an option

  • Save MLWhiz/1cdf5fb11acd98cb395ee21c0209591a to your computer and use it in GitHub Desktop.

Select an option

Save MLWhiz/1cdf5fb11acd98cb395ee21c0209591a to your computer and use it in GitHub Desktop.
filenames = glob.glob('animeface-character-dataset/*/*.pn*')
plt.figure(figsize=(10, 8))
for i in range(5):
img = plt.imread(filenames[i], 0)
plt.subplot(4, 5, i+1)
plt.imshow(img)
plt.title(img.shape)
plt.xticks([])
plt.yticks([])
plt.tight_layout()
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment