Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View rabid-inventor's full-sized avatar

Gee Bartlett rabid-inventor

View GitHub Profile
### Keybase proof
I hereby claim:
* I am rabid-inventor on github.
* I am rabid_inventor (https://keybase.io/rabid_inventor) on keybase.
* I have a public key whose fingerprint is 443A BD6C FB6F 5E32 8D4C 4B02 22E5 E8CD A930 B30E
To claim this, I am signing this object:
@rabid-inventor
rabid-inventor / basic_opencv.py
Created December 11, 2012 00:22 — forked from dccourt/basic_opencv.py
Basic image capture and manipulation with Python and OpenCV
import cv2.cv as cv
import time
cv.NamedWindow('a', 1)
cv.NamedWindow('b', 1)
cv.NamedWindow('c', 1)
cv.NamedWindow('d', 1)
cap = cv.CaptureFromCAM(-1)
cv.SetCaptureProperty(cap, cv.CV_CAP_PROP_FRAME_HEIGHT, 240)
cv.SetCaptureProperty(cap, cv.CV_CAP_PROP_FRAME_WIDTH, 320)