Camera之luvcview使用(十一)

1.Install Depened
# sudo apt-get install debhelper libsdl1.2-dev libv4l-dev pkg-config

2.Donload:
https://github.com/MeekJeen/luvcview
# cd luvcview
# make
<1>报错:
uvcvideo.h:5:10: fatal error: linux/videodev.h: No such file or directory
 #include 
解决:
# sudo ln -s /usr/include/linux/videodev2.h /usr/include/linux/videodev.h

3.或者下载luvcview安装包
http://archive.ubuntu.com/ubuntu/pool/universe/l/luvcview/luvcview_0.2.6-6_amd64.deb

4.使用
# luvcview -d /dev/video0 -f yuv -s 640x480  //preview camera

Reference

你可能感兴趣的:(Camera系统研究)