Skip to content
parafin edited this page Apr 18, 2024 · 13 revisions

Dependencies

OpenCV built with CUDA and OpenGL support is required by default. Alternatively one can switch to CPU rendering code-path (slower), which doesn’t depend on CUDA support in OpenCV:

  • change the following values in imagebroker.json (see inline comments there for guidance):

    1. chains/main/elements/gpuproc/elements/export/type to "export_to_hostmem"

    2. chains/main/elements/exporter/device_id to "cpu_dev"

Installing OpenCV on Linux

See linux/install_opencv.sh script, which builds OpenCV library with CUDA and OpenGL support. It was tested on Ubuntu 20.04, NVIDIA Jetson Linux (L4T) 32.7, 35.2 and 35.4. On Ubuntu it is assumed that CUDA repository is already installed in the system.

Installing OpenCV on Windows

Please refer to the beginning of the following article: https://mr-technologies.com/iff-sdk/latency-mesurement/

Clone this wiki locally