Ask Your Question
0

Does dnn::blobFromImage accept a GpuMat as input?

asked 2018-05-25 12:33:37 -0600

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?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-05-25 12:48:52 -0600

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

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-05-25 12:33:37 -0600

Seen: 943 times

Last updated: May 25 '18