Ask Your Question
0

Does OpenCV have Cuda Dnn module?

asked 2017-10-19 08:01:35 -0600

NoobProgrammer gravatar image

Specifically opencv 3.3.0.

edit retag flag offensive close merge delete

Comments

I might be wrong but I think that's a no; at least according to this

eshirima gravatar imageeshirima ( 2017-10-19 08:22:52 -0600 )edit

yeah i guess. So i have to include caffe library and code from there with opencv right?

NoobProgrammer gravatar imageNoobProgrammer ( 2017-10-19 08:24:08 -0600 )edit

If that's what you are comfortable with, yes. According to their documentation, you could load Tensorflow, Caffe, Darknet and Torch models

eshirima gravatar imageeshirima ( 2017-10-19 08:27:27 -0600 )edit

yeah but thats on cpu. which takes alot of time. I have done it. And single image takes about 150ms

NoobProgrammer gravatar imageNoobProgrammer ( 2017-10-19 08:28:46 -0600 )edit

Well, you can use either of the other machine learning libraries with GPU for the machine learning portions then OpenCV for the image processing

eshirima gravatar imageeshirima ( 2017-10-19 08:30:39 -0600 )edit

yeah true. But I want to use Dnn to extract the features. Well thanks anyway.

NoobProgrammer gravatar imageNoobProgrammer ( 2017-10-19 08:31:50 -0600 )edit

No in OpenCV 3.3.

I don't think cuDNN will be integrated into OpenCV as it targets only Nvidia GPU. The trend should be to use instead:

This seems to be still in early stages, don't expect to get the same speed than cuDNN in OpenCV 3.3.

Disclaimer: I am not at all related to the development work, this is just my own perception of the project.

Eduardo gravatar imageEduardo ( 2017-10-19 08:49:17 -0600 )edit

Ok cool. I'll try it

NoobProgrammer gravatar imageNoobProgrammer ( 2017-10-19 09:02:46 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2017-10-19 08:28:21 -0600

I might be wrong but I think that's a no; at least according to this

edit flag offensive delete link more

Comments

my 1st answer was NO, too, but there is this mysterious comment here...

berak gravatar imageberak ( 2017-10-19 08:33:50 -0600 )edit

So what does it mean?

NoobProgrammer gravatar imageNoobProgrammer ( 2017-10-19 08:36:18 -0600 )edit

@NoobProgrammer refer to the above comment. Test it out and let me know if it works so I can update my answer

eshirima gravatar imageeshirima ( 2017-10-19 08:37:03 -0600 )edit

ok ill do it later

NoobProgrammer gravatar imageNoobProgrammer ( 2017-10-19 08:37:58 -0600 )edit

So how will i do it? :P as my name suggests i am noob :p

NoobProgrammer gravatar imageNoobProgrammer ( 2017-10-19 08:39:53 -0600 )edit

apologies for (only) adding to the confusion ...

i don't know either. take it more as a hint, that devs there are considering this, and that it's WIP.

answer for now is still: NO.

berak gravatar imageberak ( 2017-10-19 08:46:02 -0600 )edit

No worries bro. Thanks again

NoobProgrammer gravatar imageNoobProgrammer ( 2017-10-19 08:47:39 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2017-10-19 08:01:35 -0600

Seen: 2,708 times

Last updated: Oct 19 '17