First time here? Check out the FAQ!
answered 2013-07-01 08:44:14 -0600
here, you create an instance of VideoCapture:
capture = cv2.VideoCapture(0)
then you'd want to use that instance ( not the class! )
ret,frame = capture.read() // go on processing frame