Skip to content

Instantly share code, notes, and snippets.

@quangnhat185
Created April 11, 2020 11:53
Show Gist options
  • Save quangnhat185/82b976e4eb12ab8a725ff37235f6a748 to your computer and use it in GitHub Desktop.
Save quangnhat185/82b976e4eb12ab8a725ff37235f6a748 to your computer and use it in GitHub Desktop.
# Viualize all obtained plate images
fig = plt.figure(figsize=(12,6))
cols = 5
rows = 4
fig_list = []
for i in range(cols*rows):
fig_list.append(fig.add_subplot(rows,cols,i+1))
title = splitext(basename(image_paths[i]))[0]
fig_list[-1].set_title(title)
LpImg,_ = get_plate(image_paths[i])
plt.axis(False)
plt.imshow(LpImg[0])
plt.tight_layout(True)
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment