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