Skip to content

Instantly share code, notes, and snippets.

@aniruddha27
Created March 20, 2020 20:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aniruddha27/acb4b47ae3cb5d0b752362b19dc30690 to your computer and use it in GitHub Desktop.
Save aniruddha27/acb4b47ae3cb5d0b752362b19dc30690 to your computer and use it in GitHub Desktop.
import cv2
import matplotlib.pyplot as plt
# import glob
filepath = r'./Importing files/Delhi'
images = glob.glob(filepath+'\*.jpg')
for i in images[:3]:
im = Image.open(i)
plt.imshow(im)
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment