Ask Your Question

Difficulty stitching with CUDA

asked 2019-08-20 01:21:22 -0500

opencv.exe gravatar image

updated 2019-08-20 02:48:08 -0500

LBerger gravatar image

A stitching with CUDA did not work.

<enviroment> OpenCV4.1.1, OpenCV_Contribute4.1.1, CUDA10.1, TBB20190605, VisualStudio2019 , Cmake 3.14.1, Corei7 8700, GTX 1070Ti

OpenCV-reference said: "If you have cuda device cv::Stitcher can be configured to offload certain operations to GPU. If you prefer this configuration set try_use_gpu to true." link :

But there isn't "try-use-gpu" in the sample code. Thank you in advance.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2019-08-20 03:00:04 -0500

LBerger gravatar image

updated 2019-08-20 03:01:36 -0500

I don't thnk that's possible using stitcher class (something is wrong in doc). If you want to use CUDA for stitching you must compile opencv with CUDA and use stitching_detailed.cpp or

edit flag offensive delete link more


The flag name was changed to --try_cuda (yes|no) in the detailed example. But the idea is still the same as what author is looking for.

StevenPuttemans gravatar imageStevenPuttemans ( 2019-08-20 06:28:21 -0500 )edit

Thank you very much for your quick response. I see that there are probably something wrong in the doc. I will try using stitching_detailed.cpp. thx

opencv.exe gravatar imageopencv.exe ( 2019-08-20 23:53:25 -0500 )edit

Hi opencv.exe , do you got any solution for stitching with cuda?

Imran B gravatar imageImran B ( 2020-02-05 07:48:54 -0500 )edit

Question Tools

1 follower


Asked: 2019-08-19 23:54:40 -0500

Seen: 363 times

Last updated: Aug 20 '19