Created
April 11, 2020 11:53
-
-
Save quangnhat185/82b976e4eb12ab8a725ff37235f6a748 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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