Ask Your Question

Do the dnn module of opencv4 has a plan to support gpu of nvidia/amd?

asked 2018-08-23 13:50:56 -0500

tham gravatar image

updated 2018-08-25 09:36:57 -0500

As the title mentioned, considering to use opencv for next computer vision projects. As far as I know, Halide backend is slow,the opencl backend unless as good as cpu version, but dnn module of opencv3.4.2 only run on intel GPU.

This new project need to monitor many streams at the same time, a dedicated gpu of nvidia is the best choices for now.

Do the team of opencv has any plan to make opencl backend support gpu of nvidia/amd, or provide cuda backend in near future?

edit retag flag offensive close merge delete


sturkmen gravatar imagesturkmen ( 2018-08-25 09:50:01 -0500 )edit

plan for opencv 4 and here

LBerger gravatar imageLBerger ( 2018-08-25 11:24:14 -0500 )edit

I believe OpenCL backend can work on other GPUs, it just have not been tested and tuned for them. Also, there are plans for Halide backend improvement.

mshabunin gravatar imagemshabunin ( 2018-08-27 14:00:27 -0500 )edit

@mshabunin, I tried with yolo v3, it switch back to cpu automatic, from the list of opencv4 route map, the only thing I could expect is Halide backend improvement

tham gravatar imagetham ( 2018-09-07 08:28:02 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2019-02-01 17:06:08 -0500

GaryB gravatar image

Yes, see the idea page for GSoC 2019. We have a very good mentor for this, we need good students.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-08-23 13:50:56 -0500

Seen: 870 times

Last updated: Feb 01