1 Star 0 Fork 0

macos2 / OrangePi-CSI-Camera-Demo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

OrangePi-CSI-Camera-Demo

a small program used for Demo to Capture Picture with OrangePi PC2 official CSI Camera.

Depend

cairo v4l2

Build

install all the depend package and make sure pkg-config work fine Just make in the working directory and a program named demo.run would be maked for you.

Use Argument

#demo.run [options]
-c|--count=capture count default:4
-d|--device=Path to device default:'/dev/video0'
-w|--width=capture width default:800
-h|--height=capture height default:600
-i|--input=device input channel default:0
-f|--pix_format=fourcc pix format default:'YU12'
#Becare:
Only YUYV,YU12,422P pix format could be write to png file
Argment width,height and pix_foramt could be modified by the camera driver to make it compatible
example:'%s -d /dev/video1 -w 800 -h 600 -p YU12 -c 10'

空文件

简介

取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
C
1
https://gitee.com/macos2/OrangePi-CSI-Camera-Demo.git
git@gitee.com:macos2/OrangePi-CSI-Camera-Demo.git
macos2
OrangePi-CSI-Camera-Demo
OrangePi-CSI-Camera-Demo
master

搜索帮助