Initial pass at some boost python bindings.

This commit is contained in:
Ethan Rublee
2011-05-23 17:26:58 +00:00
parent 3bb685a744
commit 44e9fdaa2d
12 changed files with 750 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
import opencv
capture = opencv.VideoCapture(0)
img = opencv.Mat()
while True:
capture.read(img)
opencv.imshow("camera",img)
if opencv.waitKey(10) == 27:
break