Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I changed how I initialized the camera and it works now. I'm not sure why this was able to fix the issue, but I thought I'd put it up in case anybody else has the same problem.

Before:

cam = cv2.VideoCapture(0)

Now:

cam = cv2.VideoCapture("/dev/video0")