0

As i said I am trying to capture the video through cv2.VideoCapture(0) that use internal webcam and display it using cv2.imshow followed by the cv2.waitKey(1) and it works perfectly fine. However, when i try to use cv2.VideoCapture(1, cv2.CAP_V4L2) my first frame is displayed and then the code is aborted giving the error

ASSERT: "false" in file qasciikey.cpp, line 501
Aborted (core dumped)

Plz help me with identifying the fault, I have checked my external webcam with ffplay and it works fine and have installed all of the dependencies. Thanks in advance

Ajay A
  • 800
  • 1
  • 4
  • 16

0 Answers0