Logitech camera C310 doesn't work on Raspberry Pi 3, after doing cap = VideoCapture(0, CAP_DSHOW) and then doing _, frame = cap.read() and then running the code I get the error AttributeError: 'NoneType' object has no attribute 'copy'. Why? The camera works fine on my PC so I don't understand why it gives me error on Raspberry.
cap = VideoCapture(0, CAP_DSHOW)
_, frame = cap.read()
AttributeError: 'NoneType' object has no attribute 'copy'
cap = VideoCapture(0, CAP_DSHOW) while 1: _, frame = cap.read() f = frame.copy()
1.4m articles
1.4m replys
5 comments
57.0k users