Skip to content

Instantly share code, notes, and snippets.

@scholich
scholich / video_capture.py
Created January 19, 2017 13:58
Video capture with adjustable exposure time and whiteness correction
"""Lightweight module for video capture: imageio that can talk to ffmpeg
"""
from pylab import plt
import imageio
import os
# list devices
os.system('ffmpeg -f dshow -list_devices true -i ""')
# adjust video properties