Changes

Jump to navigation Jump to search
Line 119: Line 119:     
==== yavta示例 ====
 
==== yavta示例 ====
 +
<code>git clone <nowiki>https://github.com/veyeimaging/yavta.git</nowiki></code>
 +
 +
<code>cd yavta;make</code>
 +
 +
<code>./yavta -c1 -Fuyvy-1920x1080.yuv --skip 0 -f UYVY -s 1920x1080 /dev/video0</code>
    
==== gstreamer应用范例 ====
 
==== gstreamer应用范例 ====
 +
我们提供了几个gstreamer例程,实现了预览,抓拍,录像等功能。详见github上的[https://github.com/veyeimaging/rk356x_firefly/tree/main/linux/samples samples]目录。
    
==== OpenCV的导入 ====
 
==== OpenCV的导入 ====
 +
首先安装OpenCV:
 +
 +
<code>sudo apt install python3-opencv</code>
 +
 +
我们提供了几个将摄像头数据导入opencv的例程。详见github上的[https://github.com/veyeimaging/rk356x_firefly/tree/main/linux/samples samples]目录。
 +
 +
此外,Firefly的这个[https://wiki.t-firefly.com/zh_CN/Firefly-Linux-Guide/demo_OpenCV_support.html 页面]也有一定的参考价值。
    
=== i2c脚本使用说明 ===
 
=== i2c脚本使用说明 ===

Navigation menu