1 | initial version |
I got same as your error: (-215:Assertion failed) size.width>0 && size.height>0 in function 'imshow'
. Unfortunately, you can't get debug to fix it.
To get it working. Change this:
cap = cv2.VideoCapture(1)
to:
cap = cv2.VideoCapture(0)
2 | No.2 Revision |
I got same as your error: (-215:Assertion failed) size.width>0 && size.height>0 in function 'imshow'
. Unfortunately, you can't get debug to fix it.
To get it working. Change this:
cap = cv2.VideoCapture(1)
to:
cap = cv2.VideoCapture(0)