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 did not start asynchronously.
My GPU is GTX780Ti.
Thanks!
"does not work the way I want" -- please be more explicit here.