I run the following code, according this page - http://docs.opencv.org/3.0-beta/doc/py_tutorials/py_gui/py_video_display/py_video_display.html
cap = cv2.VideoCapture(0)
print cap.read()
print cap.open()
cap.release()
the results I get are:
(False, None)
TypeError: Required argument 'device' (pos 1) not found
I use jupyter notebook, python 2.7, openCV 2.4.
How can I get the openCV to work with the cam?