代码拉取完成,页面将自动刷新
同步操作将从 Selina/图像拼接 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
cmake_minimum_required(VERSION 3.0.2)
project(image_stitch)
###########
## Build ##
###########
## Specify additional locations of header files
## Your package locations should be listed before other locations
# find_package(OpenCV REQUIRED)
# find_package(OpenCV 3.0 QUIET)
# if(NOT OpenCV_FOUND)
# find_package(OpenCV 2.4.3 QUIET)
# if(NOT OpenCV_FOUND)
# message(FATAL_ERROR "OpenCV > 2.4.3 not found.")
# endif()
# endif()
find_package(OpenCV)
find_package(Qt5 COMPONENTS Core Gui Widgets REQUIRED)
# Set(OPENCV_ENABLE_NONFREE true)
# find_package(Eigen3 3.1.0 REQUIRED)
# find_package(Pangolin REQUIRED)
# find_package(PCL 1.7 REQUIRED )
include_directories(
./src
# INCLUDE_DIRECTORIES("/home/yourusername/Dependencies/opencv-3.4.9/opencv_contrib-3.4.9/modules/xfeatures2d/include")
# ${catkin_INCLUDE_DIRS}
# ${PROJECT_SOURCE_DIR}
# ${Pangolin_INCLUDE_DIRS}
# ${PCL_INCLUDE_DIRS}
# ${Qt5Widgets_LIBRARIES}
# ../src
)
add_definitions( ${PCL_DEFINITIONS} )
link_directories( ${PCL_LIBRARY_DIRS} )
message(${OpenCV_LIBS})
set(LIBS
${OpenCV_LIBS}
${EIGEN3_LIBS}
${Pangolin_LIBRARIES}
${catkin_LIBRARIES}
${PCL_LIBRARIES}
# /usr/local/lib/libopencv_xfeatures2d.so.4.5.2
# -lboost_system
)
# add_executable(sort_algo
# src/image_stitch.cpp
# src/sort_algo.cpp
# )
# target_link_libraries(sort_algo ${LIBS} )
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
# QtCreator supports the following variables for Android, which are identical to qmake Android variables.
# Check http://doc.qt.io/qt-5/deployment-android.html for more information.
# They need to be set before the find_package(Qt5 ...) call.
#if(ANDROID)
# set(ANDROID_PACKAGE_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/android")
# if (ANDROID_ABI STREQUAL "armeabi-v7a")
# set(ANDROID_EXTRA_LIBS
# ${CMAKE_CURRENT_SOURCE_DIR}/path/to/libcrypto.so
# ${CMAKE_CURRENT_SOURCE_DIR}/path/to/libssl.so)
# endif()
#endif()
find_package(Qt5 COMPONENTS Widgets REQUIRED)
add_executable(gui
gui/gui.cpp
src/image_stitch.cpp
src/sort_algo.cpp
# widget.cpp
# widget.h
# widget.ui
)
target_link_libraries(gui PRIVATE Qt5::Widgets ${LIBS})
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。