CUDA Accelerated GStreamer Camera Undistort - Getting Started - Building the Undistort

From RidgeRun Developer Wiki
Revision as of 18:14, 5 March 2021 by Mherrera (talk | contribs) (Add building instructions)




Previous: Getting Started/Getting the code Index Next: User Guide





Dependencies

The cuda undistort library has the following dependencies:

Meson

The image distortion correction library makes use of the Meson build system. To build correctly this library you need to use the latest version of Meson:

First, make sure python dependencies and ninja are installed

sudo apt-get install python3 python3-pip python3-setuptools \
                       python3-wheel ninja-build

Then use pip3 install Meson directly from its repository.

sudo -H pip3 install git+https://github.com/mesonbuild/meson.git

GstCuda

To install GstCuda see the GstCUDA - Building and Installation Guide.

Building the project

Once you have met the requirements, execute the following commands:

meson build --prefix /usr
ninja -C build
sudo ninja -C build install


Previous: Getting Started/Getting the code Index Next: User Guide