Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cap = cv2.VideoCapture(0)
- ret, frame = cap.read()
- frame = cv2.cvtColor(frame,cv2.COLOR_BGR2RGB)
- ---> 19 frame = cv2.cvtColor(frame,cv2.COLOR_BGR2RGB)
- error: OpenCV(3.4.3) /io/opencv/modules/imgproc/src/color.cpp:181: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement