First time here? Check out the FAQ!
answered 2019-10-26 21:25:01 -0600
Change this:
cap = cv2.VideoCapture(1)
to:
cap = cv2.VideoCapture(0)