http://liangbing8612.blog.51cto.com/2633208/598762ide
Most of the camera driver has integrated in the kernel,so it is available insert usb-camera into the cubieboard.
$sudo apt-get install luvcview $luvcview -s 1080x720 (can modify the resolution)
1、让系统能够识别到usb摄像头设备
打开终端,输入命令:ls /dev/v*,则可看到"/dev/video0",表示成功驱动摄像头。
若是没有的话,拔掉摄像头,从新插上。而后再输入命令:ls /dev/v*,则可看到。
输入命令:lsusb ,能够查看usb摄像头的型号。spa
2、安装应用程序显示摄像头捕捉到的视频
1)使用应用程序camorama
输入命令:sudo apt-get install camorama
安装完成后,在终端中输入命令:camorama,便可显示出视频信息;或
在菜单“应用程序”中能够打开程序。
2)使用应用程序茄子(cheese)
输入命令:sudo apt-get install cheese
装好后,用命令:cheese,便可打开。code