-1

A stitching with CUDA did not work.

OpenCV4.5.1, OpenCV_Contribute4.5.1, CUDA10.2

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 : enter link description here

But there isn't "try_use_gpu" in the sample code.

Christoph Rackwitz
  • 11,317
  • 4
  • 27
  • 36
  • what is the question? – Raildex Nov 15 '21 at 07:01
  • 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."But there isn't "try_use_gpu" in the sample code. how can i use try_use_gpu in cv::Stitcher. – Stream.Hoo Nov 15 '21 at 07:14
  • Please provide enough code so others can better understand or reproduce the problem. – Community Nov 17 '21 at 10:54

1 Answers1

1

If you're following this tutorial, after you have the code compiled, run the executable ./cpp-example-stitching with the flag try_use_gpu, example:

./cpp-example-stitching --try_use_gpu true ...
UdonN00dle
  • 723
  • 6
  • 28