Download
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required( VERSION 3.6 ) | |
set( CMAKE_CXX_STANDARD 11 ) | |
set( CMAKE_CXX_STANDARD_REQUIRED ON ) | |
set( CMAKE_CXX_EXTENSIONS OFF ) | |
find_package( Git ) | |
execute_process( | |
COMMAND ${GIT_EXECUTABLE} clone "https://github.com/ocornut/imgui.git" -b v1.72b | |
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required( VERSION 3.6 ) | |
# Create Project | |
project( solution ) | |
add_executable( project main.cpp ) | |
# Set StartUp Project | |
set_property( DIRECTORY PROPERTY VS_STARTUP_PROJECT "project" ) | |
# Find Package |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <cmath> | |
#include <limits> | |
#include <opencv2/opencv.hpp> | |
#include <opencv2/rgbd.hpp> | |
#include <opencv2/viz.hpp> | |
void initialize_parameters( cv::kinfu::Params& params, const uint32_t width, const uint32_t height, const float focal_x, const float focal_y = 0.0f ){ | |
float fx = focal_x; | |
float fy = focal_y; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required( VERSION 3.0 ) | |
set( CMAKE_TOOLCHAIN_FILE "C:/vcpkg/scripts/buildsystems/vcpkg.cmake" ) | |
# Create Project | |
project( solution ) | |
add_executable( project main.cpp ) | |
# Set OpenCVConfig.cmake Search Directory | |
set( OpenCV_DIR ) | |
if( NOT CMAKE_CL_64 ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Example CMakeLists.txt | |
# FindKInectSDK.cmake copy to CMake\share\cmake-3.5\Modules or same directory as this file | |
cmake_minimum_required( VERSION 2.8 ) | |
set( CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}" ${CMAKE_MODULE_PATH} ) | |
project( solution ) | |
add_executable( project main.cpp ) | |
set_property( DIRECTORY PROPERTY VS_STARTUP_PROJECT "project" ) |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required( VERSION 3.6 ) | |
set( CMAKE_CXX_STANDARD 11 ) | |
set( CMAKE_CXX_STANDARD_REQUIRED ON ) | |
set( CMAKE_CXX_EXTENSIONS OFF ) | |
project( K4ABT ) | |
add_executable( K4ABT main.cpp ) | |
set_property( DIRECTORY PROPERTY VS_STARTUP_PROJECT "K4ABT" ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required( VERSION 3.6 ) | |
# Create Project | |
project( test ) | |
add_executable( freetype main.cpp ) | |
# Set StartUp Project | |
set_property( DIRECTORY PROPERTY VS_STARTUP_PROJECT "freetype" ) | |
# Set CharacterSet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
k4a_double_exponential_filter.h | |
This file contains holt double exponential smoothing filter for filtering joints. | |
It was ported for Azure Kinect Body Tracking SDK based on following implementation. | |
https://social.msdn.microsoft.com/Forums/en-US/045b058a-ae3a-4d01-beb6-b756631b4b42 | |
std::unordered_map<int32_t, double_exponential_filter> double_exponential_filter; | |
while( true ) |