目录
- 安装摄像头
- 配置
- 使用luvcview
平台:树莓派3B
版本: 2021-05-07-raspios-buster-armhf
安装摄像头

配置
sudo raspi-config




重启后
cd /dev
ls
可看到新增了video0设备

使用luvcview
安装
sudo apt-get install luvcview
查看摄像设备详细信息
luvcview -d /dev/video0 -L

luvcview -h
可查看luvcview参数

启用摄像头
luvcview -d /dev/video0 -s 640x480


此为录屏键

此为关闭键

此为截图键,实测-f 参数为yuv时才能成功截图
luvcview -d /dev/video0 -s 320x320 -f yuv

所截图片格式为pnm

