In earlier chapters, we saw that CUDA provides an excellent interface to utilize the parallel computing capability of GPU to accelerate complex computing applications. In this section, we will see how we can utilize the capability of CUDA alongside OpenCV for computer vision applications.
Basic computer vision applications using the OpenCV CUDA module
Introduction to the OpenCV CUDA module
OpenCV has a CUDA module that has hundreds of functions that can utilize GPU capabilities. It is only supported on Nvidia GPUs because it uses Nvidia CUDA runtime in the background. OpenCV has to be compiled with the WITH_CUDA flag set to ON for using the CUDA module.
One great feature of using the CUDA module of OpenCV is that it provides...