You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
set(the_description "Images stitching")
|
|
|
|
|
|
|
|
if(HAVE_CUDA)
|
|
|
|
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wundef -Wmissing-declarations -Wshadow -Wstrict-aliasing)
|
|
|
|
endif()
|
|
|
|
if(ARM AND CV_GCC AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 7.0)
|
|
|
|
# suppress warnings from GCC only on 7.1 and later
|
|
|
|
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wno-psabi)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
set(STITCHING_CONTRIB_DEPS "opencv_xfeatures2d")
|
|
|
|
if(BUILD_SHARED_LIBS AND BUILD_opencv_world AND OPENCV_WORLD_EXCLUDE_EXTRA_MODULES)
|
|
|
|
set(STITCHING_CONTRIB_DEPS "")
|
|
|
|
endif()
|
|
|
|
ocv_define_module(stitching opencv_imgproc opencv_features2d opencv_calib3d opencv_flann
|
|
|
|
OPTIONAL opencv_cudaarithm opencv_cudawarping opencv_cudafeatures2d opencv_cudalegacy opencv_cudaimgproc ${STITCHING_CONTRIB_DEPS}
|
|
|
|
WRAP python)
|