Changes

Jump to navigation Jump to search
Line 117: Line 117:  
===== Check frame rate =====
 
===== Check frame rate =====
 
<code>v4l2-ctl --set-fmt-video=width=1920,height=1080,pixelformat=UYVY --stream-mmap --stream-count=-1 --stream-to=/dev/null</code>
 
<code>v4l2-ctl --set-fmt-video=width=1920,height=1080,pixelformat=UYVY --stream-mmap --stream-count=-1 --stream-to=/dev/null</code>
<br />
+
 
 
==== 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 ====
 +
We provide several gstreamer routines that implement the preview, capture, and video recording functions. See the [https://github.com/veyeimaging/rk356x_firefly/tree/main/linux/samples samples] directory on github for details.
    
==== Import to OpenCV ====
 
==== Import to OpenCV ====
 +
First install OpenCV:
 +
 +
<code>sudo apt install python3-opencv</code>
 +
 +
We provide several routines to import camera data into opencv. See the [https://github.com/veyeimaging/rk356x_firefly/tree/main/linux/samples samples] directory on github for details.
 +
 +
In addition, this [https://wiki.t-firefly.com/en/Firefly-Linux-Guide/demo_OpenCV_support.html page] from Firefly has some reference value.
    
=== i2c script for parameter configuration ===
 
=== i2c script for parameter configuration ===

Navigation menu