Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
199 views
in Technique[技术] by (71.8m points)

python - Logitech camera C310 doesn't work on Raspberry Pi 3

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)
while 1:
     _, frame = cap.read()
     f = frame.copy()
question from:https://stackoverflow.com/questions/65937996/logitech-camera-c310-doesnt-work-on-raspberry-pi-3

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...