How stitch image with cuda?

1k views Asked by At

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.

1

There are 1 answers

0
UdonN00dle On

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