Skip to content

Instantly share code, notes, and snippets.

@kamalkiewicz
kamalkiewicz / camera.py
Last active March 26, 2020 14:24
beaglebuggy
#!/usr/bin/env python3
import cv2.cv as cv
import time
cv.NamedWindow("camera", 1)
capture = cv.CaptureFromCAM(0)
#cv.SetCaptureProperty(capture, 3, 360)
#cv.SetCaptureProperty(capture, 4, 240)