Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You forgot to add quote. Change this:

video = cv2.VideoCapture(/dev/video0)

to:

video = cv2.VideoCapture('"dev/video0")

You forgot to add quote. Change this:

video = cv2.VideoCapture(/dev/video0)

to:

video = cv2.VideoCapture('"dev/video0")
cv2.VideoCapture("dev/video0")

Updated: I removed single quote.