Installation of OpenCV with CUDA support on Linux

This section covers the installation steps for OpenCV with CUDA support on a Linux operating system. The steps are tested on Ubuntu 16.04, but they should work on any Unix distribution:

  1. OpenCV with CUDA will require the latest CUDA installation. The procedure to install it is covered in Chapter 1Introducing CUDA and Getting Started with CUDA. So before moving ahead, please check that it is installed properly. You can check the installation of the CUDA toolkit and supporting Nvidia device driver by executing the nvidia-smi command. You should see output similar to the following if your installation is working correctly:
  1.  Download the source for the latest version of OpenCV by visiting ...

Get Hands-On GPU-Accelerated Computer Vision with OpenCV and CUDA now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.