Changes

Jump to navigation Jump to search
Line 176: Line 176:     
====D-SDK Toolkits Manual====
 
====D-SDK Toolkits Manual====
[[VEYE-MIPI-290/327 for Raspberry Pi#D-SDK Toolkits Manual|Please refer VEYE-MIP-327 D-SDK part]]
+
It contains three parts: C language SDK(libdmipicam.so),C language sample,Python language sample.
 +
=====Install support package=====
 +
<code>sudo apt-get update && sudo apt-get install libopencv-dev</code>
 +
 
 +
<code>sudo apt-get install python-opencv</code>
 +
 
 +
<code>sudo apt-get install libzbar-dev</code>
 +
=====D-SDK=====
 +
 
 +
*interface:
 +
 
 +
opensource,D_mipicam.h
 +
 
 +
*compile:
 +
 
 +
<code>./buildme</code>
 +
 
 +
*install:
 +
 
 +
<code>sudo install -m 644 ./libdmipicam.so /usr/lib/</code>
 +
=====C sample=====
 +
 
 +
*preview
 +
 
 +
Dispaly real-time video to HDMI output
 +
 
 +
*preview-dualcam
 +
 
 +
Dispaly real-time video to HDMI output for dual cameras(RPI CM)
 +
 
 +
*video
 +
 
 +
H.264 format encoding and record to file.
 +
 
 +
*capture
 +
 
 +
Capture one jpeg image.
 +
 
 +
*video2stdout
 +
 
 +
H.264 format encoding and send to stdout,which could be used by pipe. It's like <code>veye_raspivid -o -</code>.
 +
 
 +
<code>./video2stdout | nc -l -p 5000</code>
 +
 
 +
*capture_yuv
 +
 
 +
Capture one yuv image.
 +
 
 +
*capture-dualcam
 +
 
 +
Capture jpeg images for dual cameras.
 +
 
 +
*yuv_stream
 +
 
 +
Shows how to get yuv stream.
 +
 
 +
*capture2opencv
 +
 
 +
Shows how to get yuv stream,transfer to opencv format and display it.
 +
 
 +
*qrcode_detection
 +
 
 +
Shows how to get yuv stream,transfer to opencv format and display it and detect QR code.
 +
=====Python sample=====
 +
 
 +
*preview.py
 +
 
 +
Dispaly real-time video to HDMI output
 +
 
 +
*capture.py
 +
 
 +
Capture one jpeg image.
 +
 
 +
*capture_yuv.py
 +
 
 +
capture_yuv
 +
 
 +
*video.py
 +
 
 +
H.264 format encoding and record to file.
 +
 
 +
*capture2opencv.py
 +
 
 +
Shows how to get yuv stream,transfer to opencv format and display it.
 
===Video Control Toolkits Manual===
 
===Video Control Toolkits Manual===
 
On Raspberry Pi, We use I2C-0 as control bus for VEYE Camera Module. We provide a Shell Script — camera_i2c_config— to config pin usage.
 
On Raspberry Pi, We use I2C-0 as control bus for VEYE Camera Module. We provide a Shell Script — camera_i2c_config— to config pin usage.
Line 182: Line 265:  
Video Control Toolkits Manual : [[CS-MIPI-X i2c]]
 
Video Control Toolkits Manual : [[CS-MIPI-X i2c]]
   −
=== RPI Computer Module and RPI Zero Additional Info ===
+
===RPI Computer Module and RPI Zero Additional Info===
 
Please refer to : [[VEYE-MIPI-290/327 for Raspberry Pi#RPI Computer Module and RPI Zero Additional Info|RPI Computer Module and RPI Zero Additional Info]].
 
Please refer to : [[VEYE-MIPI-290/327 for Raspberry Pi#RPI Computer Module and RPI Zero Additional Info|RPI Computer Module and RPI Zero Additional Info]].

Navigation menu