forked from microsoft/Azure-Kinect-Samples
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated BT samples to use the BT SDK 1.1.1 (microsoft#66)
* Fixed cmake issues * Update BT samples to use the Body Tracking SDK 1.1.1 Co-authored-by: Vache Katsadze <v-vkatsadze@microsoft.com>
- Loading branch information
Showing
35 changed files
with
1,449 additions
and
199 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,34 @@ | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. | ||
|
||
if (NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/extern/glfw/src/CMakeLists.txt") | ||
find_package(Git REQUIRED QUIET) | ||
if (Git_FOUND) | ||
message(STATUS "Fetching git modules...") | ||
execute_process( | ||
COMMAND | ||
${GIT_EXECUTABLE} submodule update --init --recursive | ||
WORKING_DIRECTORY | ||
${CMAKE_CURRENT_SOURCE_DIR} | ||
RESULT_VARIABLE | ||
GIT_SUBMODULE_UPDATE_RESULT | ||
OUTPUT_VARIABLE | ||
GIT_SUBMODULE_UPDATE_OUTPUT | ||
) | ||
|
||
if (NOT (${GIT_SUBMODULE_UPDATE_RESULT} EQUAL 0)) | ||
message(FATAL_ERROR "git submodule update failed: ${GIT_SUBMODULE_UDPATE_OUTPUT}") | ||
endif() | ||
endif() | ||
endif() | ||
|
||
list(INSERT CMAKE_MODULE_PATH 0 ${CMAKE_CURRENT_LIST_DIR}/cmake) | ||
|
||
add_subdirectory(extern) | ||
add_subdirectory(camera_space_transform_sample) | ||
add_subdirectory(floor_detector_sample) | ||
add_subdirectory(jump_analysis_sample) | ||
add_subdirectory(offline_processor) | ||
add_subdirectory(simple_3d_viewer) | ||
add_subdirectory(simple_sample) | ||
add_subdirectory(sample_helper_libs) |
11 changes: 11 additions & 0 deletions
11
body-tracking-samples/camera_space_transform_sample/CMakeLists.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. | ||
|
||
add_executable(camera_space_transform_sample | ||
main.cpp | ||
) | ||
|
||
target_link_libraries(camera_space_transform_sample PRIVATE | ||
k4a | ||
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
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
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
7 changes: 3 additions & 4 deletions
7
body-tracking-samples/camera_space_transform_sample/packages.config
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="Microsoft.Azure.Kinect.BodyTracking" version="1.0.1" targetFramework="native" /> | ||
<package id="Microsoft.Azure.Kinect.BodyTracking.Dependencies" version="0.9.1" targetFramework="native" /> | ||
<package id="Microsoft.Azure.Kinect.BodyTracking.Dependencies.cuDNN" version="0.9.1" targetFramework="native" /> | ||
<package id="Microsoft.Azure.Kinect.Sensor" version="1.3.0" targetFramework="native" /> | ||
<package id="Microsoft.Azure.Kinect.BodyTracking" version="1.1.1" targetFramework="native" /> | ||
<package id="Microsoft.Azure.Kinect.BodyTracking.ONNXRuntime" version="1.10.0" targetFramework="native" /> | ||
<package id="Microsoft.Azure.Kinect.Sensor" version="1.4.1" targetFramework="native" /> | ||
</packages> |
Oops, something went wrong.