VPI - Vision Programming Interface

1.2 Release

Installation

The preferred tool for installing VPI is the SDK Manager installer, which automates the installation and setup process on both the host and the target system.

For a full description of the installer, see the SDK Manager User Guide.

Note
When installing VPI via the SDK Manager installer, it's advisable to upgrade VPI to the most recent version to take advantage of the bug fixes made after VPI v1.2 was released. To do so, please execute the following commands in a terminal:
sudo apt-get update
sudo apt-get install libnvvpi1

Alternatively, you can use apt to install the VPI host components on a linux-x86_64 host.

  1. Install the public key for the VPI repository.
    • For Ubuntu 16.04:
      sudo apt install gnupg-curl
      sudo apt-key adv --fetch-key https://repo.download.nvidia.com/jetson/jetson-ota-public.asc
    • For Ubuntu 18.04:
      sudo apt install gnupg
      sudo apt-key adv --fetch-key https://repo.download.nvidia.com/jetson/jetson-ota-public.asc
  2. Install some packages needed to add a new apt repository to the system.
    sudo apt install software-properties-common
  3. Add the public repository server to the apt configuration.
    • For Ubuntu 16.04:
      sudo add-apt-repository 'deb https://repo.download.nvidia.com/jetson/x86_64 xenial r32.7'
    • For Ubuntu 18.04:
      sudo add-apt-repository 'deb https://repo.download.nvidia.com/jetson/x86_64 bionic r32.7'
  4. Update the local repository package list.
    sudo apt update
  5. Install the VPI package and its dependencies on the host:
    sudo apt install libnvvpi1 vpi1-dev vpi1-samples
  6. If there's a display connected, also install the VPI demo package.
    sudo apt install vpi1-demos
  7. (optional) Development packages for cross-compilation targeting aarch64-l4t architecture.
    sudo apt install vpi1-cross-aarch64-l4t

The installer copies VPI files to the directory /opt/nvidia/vpi1.

Inside this directory are the following sub-directories:

- binDemo applications and other executables
- includeC headers
- lib64Shared libraries for host platform
- samples/*Complete sample applications
- targets/aarch64-l4t/lib64Shared libraries needed for cross-compilation

After a successful installation, read basic concepts to learn some basic VPI concepts, then go write your first application with VPI.