Ask Your Question

What's the future of cuda modules after Opencv 4

asked 2018-10-02 04:05:46 -0500

Deism gravatar image

updated 2018-10-05 02:08:49 -0500

berak gravatar image

All cuda modules have been moved to opencv_contrib now, what is the plans? will openGL replace these modules?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2018-10-06 08:18:22 -0500

Eduardo gravatar image

This is an opinion-based answer and does not reflect a statement from the OpenCV organization.

Since OpenCV 4.0, the cuda modules are moved to OpenCV contrib.

The official OpenCV build was never shipped with cuda support. You have to build it yourself and now you need to download OpenCV contrib but the procedure remains the same.

Cuda support is made low priority. That means that no new features will be developed in cuda. Bugfixes from the community are still accepted of course. New functionalities in cuda should be made in OpenCV contrib and a reference CPU implementation of the algorithm must be provided (e.g. Segmentation hfs).

OpenCL is the chosen solution to support GPU development from the OpenCV organization. It is vendor-free and does not require special SDK installation from the user.

edit flag offensive delete link more


I would really really like to see cuda support for the dnn module. Never managed to get decent framerate without it,

holger gravatar imageholger ( 2018-10-07 11:35:00 -0500 )edit

We reali$t$ expect Intel to $ilently kill CUDA in OpenCV, unle$$ at $ome point they happen to purcha$e Nvidia.

Der Luftmensch gravatar imageDer Luftmensch ( 2018-10-08 14:45:04 -0500 )edit

Hmm is that a reasonable expectation? Anyway i see how this is a minefield.

holger gravatar imageholger ( 2018-10-08 15:51:15 -0500 )edit

Question Tools



Asked: 2018-10-02 04:05:46 -0500

Seen: 1,126 times

Last updated: Oct 06 '18