Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Async template matching with cuda

Hello! Is it possible to execute match() method of two differnt cv::cuda::TemplateMatching instances simultaneously (similar two CPU threads)? I have tried to pass &stream parameter to cuda::TemplateMatching::match method, seems like:

>match(img1, templ1, result1, stream1); 
>match(img2, templ2, result2, stream2);

But it does not work the way I want.

My GPU is GTX780Ti.

Thanks!

Async template matching with cuda

Hello! Is it possible to execute match() method of two differnt cv::cuda::TemplateMatching instances simultaneously (similar to two CPU threads)? I have tried to pass &stream parameter to cuda::TemplateMatching::match method, seems like:

>match(img1, templ1, result1, stream1); 
>match(img2, templ2, result2, stream2);

But it does did not work the way I want.start asynchronously.

My GPU is GTX780Ti.

Thanks!