First time here? Check out the FAQ!

Ask Your Question
0

Does dnn::blobFromImage accept a GpuMat as input?

asked May 25 '18

jaybo_nomad gravatar image

It's not quite clear from the documentation whether dnn::blobFromImage() accepts a GpuMat as the first parameter. Does this work?

Preview: (hide)

1 answer

Sort by » oldest newest most voted
0

answered May 25 '18

berak gravatar image

in short, (and sad, as it is) : no. there is no cuda optimisation for this.

however, IF you have a decent gpu, try to enable the opencl target for your network, like this , and this

Preview: (hide)

Question Tools

1 follower

Stats

Asked: May 25 '18

Seen: 969 times

Last updated: May 25 '18