Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import cv2
- capture=cv2.VideoCapture(0)
- img = capture.read()
- cv2.imwrite(img, "a.png")
- capture.release()
- cv2.destroyAllWindows()
- Error:
- File "cv.py", line 5,...
- cv2.imwrite(img, "a.png")
- TypeError : bad argument type for built-in operation
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement