mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 07:13:02 +04:00
renamed gpu namespace -> cuda
This commit is contained in:
@@ -57,7 +57,7 @@ Stitcher Stitcher::createDefault(bool try_use_gpu)
|
||||
stitcher.setBundleAdjuster(new detail::BundleAdjusterRay());
|
||||
|
||||
#ifdef HAVE_OPENCV_GPU
|
||||
if (try_use_gpu && gpu::getCudaEnabledDeviceCount() > 0)
|
||||
if (try_use_gpu && cuda::getCudaEnabledDeviceCount() > 0)
|
||||
{
|
||||
#ifdef HAVE_OPENCV_NONFREE
|
||||
stitcher.setFeaturesFinder(new detail::SurfFeaturesFinderGpu());
|
||||
|
||||
Reference in New Issue
Block a user