Skip to content

Instantly share code, notes, and snippets.

@prerakmody
Created June 26, 2018 08:58
Show Gist options
  • Save prerakmody/35520e103aafe0f6b199eaf20c3f5f72 to your computer and use it in GitHub Desktop.
Save prerakmody/35520e103aafe0f6b199eaf20c3f5f72 to your computer and use it in GitHub Desktop.
Video based code snippets
import imageio
reader = imageio.get_reader(os.path.join(folder_videos, video))
nframes = reader.get_meta_data()['nframes']
for j,im in enumerate(reader):
print (j, im)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment