CUDA Accelerated GStreamer Camera Undistort - Getting Started - Building the Undistort
CUDA Accelerated GStreamer Camera Undistort |
---|
Undistort Basics |
Getting Started |
User Guide |
Examples |
Performance |
Contact Us |
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
JSON-GLib
sudo apt install libjsoncpp-dev sudo apt install libjson-glib-dev
GstCuda
To install GstCuda see the GstCUDA - Building and Installation Guide.
OpenCV
The undistort requires OpenCV with the CUDA module enabled, you need to install it manually, follow the instructions in Compiling_OpenCV_from_Source.
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