1 篇文章带有标签 “Camera”

IoT 硬件:Raspberry Pi Camera

  • 3 Interface Options Configure connections to peripherals
  • P1 Camera Enable/disable connection to the Raspberry Pi Camera
  • Yes
reboot
  • 查看
$ cat /boot/config.txt | grep gpu_mem
gpu_mem=128
  • 修改
$ vim /boot/config.txt
$ vcgencmd get_camera
supported=1 detected=1
  • 打开摄像头,5秒后拍照(默认),保存为 image.jpg。
raspistill -o image.jpg
  • 打开摄像头,3秒后拍照,保存为 image.png,宽640:高480。
raspistill -t 3000 -o image.png -e png -w 640 -h 480
  • 打开摄像头,30秒内每2秒保存一张照片。
raspistill -t 30000 -tl 2000 -o image%04d.jpg
  • 录5秒1080p30视频,宽640:高480。
raspivid -t 5000 -o video.h264 -w 640 -h 480

Camera 没有安装好或者有质量问题。