Ask Your Question

FernandoCobo's profile - activity

2014-09-22 10:50:12 -0600 commented question gpu::FarnebackOpticalFlow

Sure. Asynchronous version, what it's to say, a non-blocking call. You call gpu::FarnebackOpticalFlow() and the CPU can keep working at the same time.

2014-09-22 10:42:11 -0600 asked a question gpu::FarnebackOpticalFlow

So, here is the question:

Does gpu::FarnebackOpticalFlow() have an asynchronous version? I mean, of course you can call it using a stream but the point is that it seems that it doesnt work, because the times are the same.

Thanks for reading and answer me if you had the same problem, please.

2014-07-16 12:32:53 -0600 asked a question StreamAccessor Problem

Hi everyone! I've been trying to compile a code that uses StreamAccessor since i need to create my own kernel and of course,i have to use cudaStream_t.

The problem comes here:

void dotProductStream(...., cv::gpu::Stream &stream){

cv::gpu::StreamAccessor::getStream(stream);

...

}

That line is the problem. It should work but it doesnt. Im using Windows and Visual Studio. The error is LNK2001. It seems to be something related with the linker but ive been programming with the GPU module of OpenCV for some months wihtout problem, so...

By the way, i included < opencv/gpu/stream_accessor.hpp>, so thats not the problem

Any idea?

Thanks!