首页 文章

Raspberry pi:启用相机模块

提问于
浏览
0

我附加了一个带有覆盆子pi的usb相机,并使用sudo raspi-config命令启用它 . 我启用它后重启了raspberry pi,但它没有启用 - 所以得到错误( error is..mmal: Camera is not detected. Please check carefully the camera module is installed correctly

当运行命令( raspistill -o image.jpg )来捕获图像时,我还运行update和upgrade命令来更新raspberry pi但是没有解决问题 .

主要的是当我运行 ffnpng -i /dev/video video.avi 时,它记录了视频,所以相机工作,所以为什么会出现这个错误?那是什么解决方案 .

是否还有其他方法或命令来捕捉图像?请帮助我 . 提前谢谢你 .

2 回答

  • 0

    看起来问题是相机模块和Raspberry PI CSI接口之间的连接 . 检查CSI电缆是否正确连接到Raspberry PI板上的CSI接口,或尝试拔下摄像头电缆并重新插入 .

    raspistillyuvraspistill 是相机模块的官方图像捕捉程序:link

  • 0

    你安装了 fswebcam 模块吗?你可以使用它:

    sudo apt-get install fswebcam

    使用命令 fswebcam <image_name>.jpg 拍摄图像

    可以在raspberrypi.org上找到完整的教程here .

相关问题