Ask Your Question
1

Difficulty stitching with CUDA

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

opencv.exe gravatar image

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

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 : https://docs.opencv.org/master/d8/d19...

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
1

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

LBerger gravatar image

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

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 stitching_detailed.py

edit flag offensive delete link more

Comments

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 -0600 )edit
2

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 -0600 )edit

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

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

Question Tools

1 follower

Stats

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

Seen: 1,211 times

Last updated: Aug 20 '19