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 os | |
import cv2 | |
def run_example(): | |
"""Extract frames from the video and creates thumbnails for one of each""" | |
# Extract frames from video | |
print "Extract frames from video" | |
frames = video_to_frames('/path/to/video') | |
# Generate and save thumbs |