Skip to content

Instantly share code, notes, and snippets.

View AndroPlus's full-sized avatar
🏠
Working from home

Ramesh Dhananjeyan AndroPlus

🏠
Working from home
View GitHub Profile
@JacopoDaeli
JacopoDaeli / video_to_thumbs.py
Last active May 21, 2018 08:16
Extract frames from the video and creates thumbnails for one of each
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