Created
June 26, 2018 08:58
-
-
Save prerakmody/35520e103aafe0f6b199eaf20c3f5f72 to your computer and use it in GitHub Desktop.
Video based code snippets
This file contains hidden or 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
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