From ca68fac4b2ef9d07d8a769739b2fc6ab7d6f7bd0 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Tue, 17 Mar 2020 15:09:23 +0300 Subject: [PATCH] stitching: don't use nonfree by default --- modules/stitching/src/stitcher.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/modules/stitching/src/stitcher.cpp b/modules/stitching/src/stitcher.cpp index e328d67ab9..adff5c1425 100644 --- a/modules/stitching/src/stitcher.cpp +++ b/modules/stitching/src/stitcher.cpp @@ -59,22 +59,14 @@ Stitcher Stitcher::createDefault(bool try_use_gpu) #ifdef HAVE_OPENCV_CUDALEGACY if (try_use_gpu && cuda::getCudaEnabledDeviceCount() > 0) { -#ifdef HAVE_OPENCV_XFEATURES2D - stitcher.setFeaturesFinder(makePtr()); -#else stitcher.setFeaturesFinder(makePtr()); -#endif stitcher.setWarper(makePtr()); stitcher.setSeamFinder(makePtr()); } else #endif { -#ifdef HAVE_OPENCV_XFEATURES2D - stitcher.setFeaturesFinder(makePtr()); -#else stitcher.setFeaturesFinder(makePtr()); -#endif stitcher.setWarper(makePtr()); stitcher.setSeamFinder(makePtr(detail::GraphCutSeamFinderBase::COST_COLOR)); }