Skip to content

Latest commit

 

History

History
219 lines (156 loc) · 9.01 KB

README.md

File metadata and controls

219 lines (156 loc) · 9.01 KB

Technexion

Producer: Technexion License: GPL v2

Introduction

TechNexion Embedded Vision Solutions provide embedded system developers access to high-performance, industrial-grade camera solutions to accelerate their time to market for embedded vision projects.

Version 0.0.1 (Beta)


Support JetPack Version

Support Camera Modules

Camera Series Products
TEVS TEVS-AR0144-C
TEVS-AR0234-C
TEVS-AR0521-C
TEVS-AR0522-C
TEVS-AR0522-M
TEVS-AR0821-C
TEVS-AR1335-C
TEVI (NRND) TEVI-AR0144-C
TEVI-AR0234-C
TEVI-AR0521-C
TEVI-AR0522-C
TEVI-AR0522-M
TEVI-AR0821-C
TEVI-AR1335-C
TEVI-OV5640
VLS3 VLS3-AR0144-C
VLS3-AR0234-C
VLS3-AR0521-C
VLS3-AR0522-C
VLS3-AR0522-M
VLS3-AR0821-C
VLS3-AR1335-C

More Camera Products Details...

Supported NVIDIA Jetson Developer Kit

Supported TechNexion TEK Series


Install TN Camera on Jetson Developer Kit

Adaptor for NVIDIA Jetson ORIN NANO Development Kit

TEV-RPI22 Adaptor for TEVS

Connect TEVS camera and TEV-RPI22 adaptor to Jetson Orin Nano Developer Kit directly.

VLS3-ORIN-EVK Adaptor for VLS3

Follow the video to connect VLS3 cameras and VLS3-ORIN-EVK adaptor to Jetson Orin Nano Developer Kit.

Watch the video

Method 1 - Using Technexion Pre-built Image

We provide pre-built images to install quickly on Jetson Orin Nano Developer Kit.

TEV-RPI22 + TEVS Cameras

VLS3-ORIN-EVK + VLS3 Cameras


Method 2 - Using Technexion Pre-built modules

Preparation

We recommend following the Getting Started Guide for Jetson Orin Nano Developer Kit. After that, you can follow the below method to install TechNexion Cameras Driver.

  1. Download pre-built modules.
wget https://download.technexion.com/demo_software/EVK/NVIDIA/OrinNano/pre-built-modules/latest/tn_camera_modules.tar.gz
  1. uncompress the modules.
tar -xf tn_camera_modules.tar.gz
  1. Run installation script.
cd tn_camera_modules/
./tn_install.sh
  1. After you agree to continue the installation, select the pre-installed modules that you want. The default module is TEVS cameras.
$ sh tn_install.sh
****** TechNexion Camera Driver Installation ******
This installation is easy to install TechnNexion Camera Drivers for NVIDIA
Jetson Orin NANO Development Kits. Before start to install camera driver,
You should BACKUP your image to avoid any file you lost while installing process.
Do you want to continue?[Y/n]Y
Continuing with the installation...
Install TN-CAM modules: vizionlink.ko
Install TN-CAM modules: tevs.ko
Install TN-CAM modules: tevi_ap1302.ko
Install TN-CAM modules: tevi_ov5640.ko
Install TN-CAM DTB file: tevs
Installed TN-CAM DTB file Done.
Install TN-CAM DTB file: vl316-vls
Installed TN-CAM DTB file Done.
Install TN-CAM DTB file: tevi-ap1302
Installed TN-CAM DTB file Done.
Install TN-CAM DTB file: tevi-ov5640
Installed TN-CAM DTB file Done.
Select modules:
    [1]: TEVS: TEVS Series MIPI Cameras with RPI22 Adaptor
    [2]: VLS3: VLS3 Series Cameras with VLS3-ORIN-EVK Adaptor
    [3]: TEVI-AP1302: TEVI-AR Series Cameras with TEV-RPI22 Adaptor
    [4]: TEVI-OV5640: TEVI-OV5640 Cameras with TEV-RPI22 Adaptor
Which modules do you select?[default:1]

Note: You should reboot the device after installation.


Method 3 - Build drivers from source codes

You can find the device tree sources from our GitHub: Device Tree for Jetson Orin Nano DevKit

  1. Follow TN BSP install steps

  2. After downloading, you can build kernel image and modules manually by following compile steps.


Bring up Camera by GStreamer

If you succeed in initialing the camera, you can follow the steps to open the camera.

  1. Check the supported resolutions:
$ gst-device-monitor-1.0 Video/Source
Device found:

        name  : vi-output, tevs 9-0048
        class : Video/Source
        caps  : video/x-raw, format=(string)UYVY, width=(int)1280, height=(int)800, framerate=(fraction)60/1;
                video/x-raw, format=(string)UYVY, width=(int)1280, height=(int)720, framerate=(fraction)60/1;
                video/x-raw, format=(string)UYVY, width=(int)640, height=(int)480, framerate=(fraction)60/1;
                video/x-raw, format=(string)UYVY, width=(int)1280, height=(int)800, framerate=(fraction)60/1;
                video/x-raw, format=(string)UYVY, width=(int)1280, height=(int)720, framerate=(fraction)60/1;
                video/x-raw, format=(string)UYVY, width=(int)640, height=(int)480, framerate=(fraction)60/1;
                video/x-raw, format=(string)NV16, width=(int)1280, height=(int)800, framerate=(fraction)60/1;
                video/x-raw, format=(string)NV16, width=(int)1280, height=(int)720, framerate=(fraction)60/1;
                video/x-raw, format=(string)NV16, width=(int)640, height=(int)480, framerate=(fraction)60/1;
        properties:
                udev-probed = true
                device.bus_path = platform-tegra-capture-vi
                sysfs.path = /sys/devices/platform/tegra-capture-vi/video4linux/video0
                device.subsystem = video4linux
                device.product.name = "vi-output\,\ tevs\ 9-003e"
                device.capabilities = :capture:
                device.api = v4l2
                device.path = /dev/video0
                v4l2.device.driver = tegra-video
                v4l2.device.card = "vi-output\,\ tevs\ 9-003e"
                v4l2.device.bus_info = platform:tegra-capture-vi:1
                v4l2.device.version = 330344 (0x00050a68)
                v4l2.device.capabilities = 2216689665 (0x84200001)
                v4l2.device.device_caps = 69206017 (0x04200001)
        gst-launch-1.0 v4l2src ! ...
  1. Bring up the camera (/dev/video0) with 1280x720 by Gstreamer pipeline:
DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video0 ! \
"video/x-raw, format=(string)UYVY, width=(int)1280, height=(int)720" ! \
nvvidconv ! nv3dsink sync=false

Troubleshooting

1. Cannot Find Cameras

If you cannot bring up the cameras, you can check if the video device does exist.

$ ls /dev/video*  # List all video devices
/dev/video0  /dev/video1

If you cannot see the devices, you should check if the drivers have been probed.

2. Occur Error: Could not get EGL display connection

If you occurred the errors nvbufsurftransform: Could not get EGL display connection by rununing the Gstreamer command, you can modify the parameter 'DISPLAY' by the command:

# Check and Set environment parameter for 'DISPLAY'
$ export DISPLAY=$(w| tr -s ' '| cut -d ' ' -f 3 | grep :)
# Run Gstreamer pipeline
$ gst-launch-1.0 v4l2src device=/dev/video0 ! \
"video/x-raw, format=(string)UYVY, width=(int)1280, height=(int)720" ! \
nvvidconv ! nv3dsink sync=false

WIKI Pages

TechNexion cameras with NVIDIA EVK guide

TechNexion NVIDIA products guide