Skip to content

Instantly share code, notes, and snippets.

View ilancoulon's full-sized avatar

Ilan Coulon ilancoulon

View GitHub Profile
anonymous
anonymous / script.py
Created November 3, 2015 11:47
import cv2
import numpy as np
def get_frame_averages(video_path):
vc = cv2.VideoCapture(video)
if vc.isOpened():
rval, frame = vc.read()
else: