-
Notifications
You must be signed in to change notification settings - Fork 0
Home
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):-
chains/main/elements/gpuproc/elements/export/type
to"export_to_hostmem"
-
chains/main/elements/exporter/device_id
to"cpu_dev"
-
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.
Please refer to the beginning of the following article: https://mr-technologies.com/iff-sdk/latency-mesurement/