Matching/Tracking/Training Tests

This commit is contained in:
Unknown 2018-07-17 13:31:05 +02:00
parent 9ba62cbeaf
commit b9a887cd64
5085 changed files with 79869 additions and 6 deletions

View file

@ -0,0 +1,34 @@
project(tutorial-tracking-mb-generic-rgbd)
cmake_minimum_required(VERSION 2.6)
find_package(VISP REQUIRED visp_core visp_mbt visp_io visp_gui)
# set the list of source files
set(tutorial_cpp
tutorial-mb-generic-tracker-rgbd.cpp)
file(GLOB tutorial_data data/color_image_*.jpg data/depth_image_*.bin)
list(APPEND tutorial_data "${CMAKE_CURRENT_SOURCE_DIR}/cube_depth.xml")
list(APPEND tutorial_data "${CMAKE_CURRENT_SOURCE_DIR}/cube.xml")
list(APPEND tutorial_data "${CMAKE_CURRENT_SOURCE_DIR}/cube.cao")
list(APPEND tutorial_data "${CMAKE_CURRENT_SOURCE_DIR}/cube.init")
list(APPEND tutorial_data "${CMAKE_CURRENT_SOURCE_DIR}/cube.ppm")
list(APPEND tutorial_data "${CMAKE_CURRENT_SOURCE_DIR}/depth_M_color.txt")
foreach(cpp ${tutorial_cpp})
visp_add_target(${cpp})
if(VISP_HAVE_OGRE)
visp_set_source_file_compile_flag(${cpp} -Wno-unused-parameter -Wno-unused-but-set-parameter -Wno-overloaded-virtual)
endif()
if(COMMAND visp_add_dependency)
visp_add_dependency(${cpp} "tutorials")
endif()
endforeach()
# Copy the data files to the same location than the target
foreach(data ${tutorial_data})
visp_copy_data(tutorial-mb-generic-tracker-rgbd.cpp ${data})
endforeach()