mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 07:13:02 +04:00
remove cuda module
This commit is contained in:
@@ -56,7 +56,7 @@ Stitcher Stitcher::createDefault(bool try_use_gpu)
|
||||
stitcher.setFeaturesMatcher(makePtr<detail::BestOf2NearestMatcher>(try_use_gpu));
|
||||
stitcher.setBundleAdjuster(makePtr<detail::BundleAdjusterRay>());
|
||||
|
||||
#ifdef HAVE_OPENCV_CUDA
|
||||
#ifdef HAVE_CUDA
|
||||
if (try_use_gpu && cuda::getCudaEnabledDeviceCount() > 0)
|
||||
{
|
||||
#ifdef HAVE_OPENCV_XFEATURES2D
|
||||
@@ -544,7 +544,7 @@ Ptr<Stitcher> createStitcher(bool try_use_gpu)
|
||||
stitcher->setFeaturesMatcher(makePtr<detail::BestOf2NearestMatcher>(try_use_gpu));
|
||||
stitcher->setBundleAdjuster(makePtr<detail::BundleAdjusterRay>());
|
||||
|
||||
#ifdef HAVE_OPENCV_CUDA
|
||||
#ifdef HAVE_CUDA
|
||||
if (try_use_gpu && cuda::getCudaEnabledDeviceCount() > 0)
|
||||
{
|
||||
#ifdef HAVE_OPENCV_NONFREE
|
||||
|
||||
Reference in New Issue
Block a user