User Guide

Used on Jetson Nano
1. Driver Installaon
Check the Kernel Version
The driver package should match with your current kernel
version, then you have to check your kernel version before
downloading the corresponding driver package. Using cat /
etc/nv_tegra_release command to determine the L4T re-
lease number. Using uname -a command to determine the
kernel number.
Download the Driver Package
Download the Arducam camera driver package for Jetson
Nano from hps://github.com/ArduCAM/MIPI_Camera/
tree/master/Jetson/Jetvariety/driver. Please download the
corresponding package menoned above.
Installation
Using the command below to install the Arducam driver
package, reboot is required aer installaon.
Uninstallation
If you want to roll back to original Jetson Nano camera
driver, just run the following command to uninstall the
Arducam driver, a reboot is also required.
sudo dpkg -r arducam-nvidia-l4t-kernel
sudo dpkg -i arducam-nvidia-l4t-kernel_4.9.140-32.3.1
-20200314151719_arm64.deb
2. Check and Test the Camera
Aer youve nished the hardware assembly and driver
installaon, the following steps can help you diagnose to
make sure the camera is detected and supported.
List the video device
The OBISP MIPI camera modules are emulated as the stand-
ard video device under /dev/video* node, so you can use
the ls command for lisng the contents in the /dev folder.
List the available video modes
Since the camera module is V4L2 complaint, you can use the
V4l2 controls to list the supported color space, resoluons,
and frame rates. The results might vary from camera to
camera (The screen shot is only apply for 13MP OBISP
camera).
If you run the commands without results, you might have to
check the ribbon connecon or install the drivers correctly,
then reboot the Jetson Nano or Xavier NX board.
v4l2-ctl --list-formats-ext
ls /dev/video0
3. Play the Video Feed with VLC
Media Player
Open VLC with command line vlc, or click
the icon to launch.
Hit the (Play) button to call the open
media window.
In Capture Device >> Device Selecon >> Video
device name, select the camera video node.
Hit Advanced Opons... Button
In Advanced Options window >> Video input
chroma format, type UYUV.
Type in the width and height, for example,
1920 and 1080.
Noce: VLC might not be able to support video width or
height larger than 4000.
Hit OK to save the settings and see the
video feed.
Open Adjustments and Eects >> v4l2 controls
property page, you can adjust the camera
control parameters manually.
4. Live View the Video using
OpenCV with Python
Download the demo code
Check the help message of the
parameters
Run the Demo
git clone hps://github.com/ArduCAM/MIPI_Camera.git
cd MIPI_Camera/Jetson/Jetvariety/example
python arducam_displayer.py -d 0
python arducam_displayer.py
5. GStreamer Example
gst-launch-1.0 -v tcpclientsrc port=5001 ! decodebin !
nvoverlaysink
GStreamer Server on Jetson
GStreamer Clinet on Jetson
GStreamer Clinet on PC
gst-launch-1.0 v4l2src device="/dev/video0" ! "video/x-
raw, width=1920, height=1080, format=(string)UYVY" !
nvvidconv ! 'video/x-raw(memory:NVMM), format=
(string)I420' ! omxh264enc prole=high cabac-entropy-
coding=true insert-sps-pps=true iframeinterval=30 !
'video/x-h264, level=(string)4.2, stream-format=(string)
byte-stream' ! tcpserversink host=localhost port=5001
gst-launch-1.0 -v tcpclientsrc host=192.168.1.105
port=5001 ! decodebin ! autovideosink