把摄像头插到树莓派上,
ls /dev
打开软件源文档
sudo nano/etc/apt/sources.list
将第三行解除注释。
Ctrl+x y 回车 使用更新命令查看一下:
sudo apt-get upgrade
摄像头调试可参考代码:python-opencv安装及入门