Skip to content

Instantly share code, notes, and snippets.

@vmesel
Created April 22, 2017 11:29
Show Gist options
  • Save vmesel/79cbdc986ccd8f3e4f4133c8fca693d7 to your computer and use it in GitHub Desktop.
Save vmesel/79cbdc986ccd8f3e4f4133c8fca693d7 to your computer and use it in GitHub Desktop.
from skvideo.io import vreader
from skimage import io
videodata = vreader("shibu.mpeg", num_frames=3)
for f in videodata:
print f.shape
io.imshow(f)
io.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment