Skip to content

Instantly share code, notes, and snippets.

@thenoviceoof
Created June 29, 2012 03:36
Show Gist options
  • Save thenoviceoof/3015502 to your computer and use it in GitHub Desktop.
Save thenoviceoof/3015502 to your computer and use it in GitHub Desktop.
photologger
import cv
cv.StartWindowThread()
cv.NamedWindow("hello")
cap = cv.CaptureFromCAM(0)
for i in range(100):
f = cv.QueryFrame(cap)
cv.ShowImage("hello", f)
import time
time.sleep(0.1)
import time
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment