Skip to content

Instantly share code, notes, and snippets.

@siddharthganjoo
Last active August 30, 2021 09:49
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 siddharthganjoo/fa314884983a631ade49fd6519e2d9a8 to your computer and use it in GitHub Desktop.
Save siddharthganjoo/fa314884983a631ade49fd6519e2d9a8 to your computer and use it in GitHub Desktop.
len(files)
len(result)
files[:5]
from skimage import color
images=[]
for file in files:
img= plt.imread(file)
img= color.rgb2gray(img)
img= img.ravel()
images.append(img)
len(images)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment