User Guide
Used on Jetson Nano
1. Driver Installaon
• 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 hps://github.com/ArduCAM/MIPI_Camera/
tree/master/Jetson/Jetvariety/driver. Please download the
corresponding package menoned above.
• Installation
Using the command below to install the Arducam driver
package, reboot is required aer installaon.
• 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
Aer you’ve nished the hardware assembly and driver
installaon, 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 lisng 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, resoluons,
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 connecon 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 Selecon >> Video
device name, select the camera video node.
• Hit Advanced Opons... Button
• In Advanced Options window >> Video input
chroma format, type UYUV.
• Type in the width and height, for example,
1920 and 1080.
Noce: 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 Eects >> 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 hps://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 prole=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