forked from CMU-Perceptual-Computing-Lab/openpose
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unity plugin compatibility (CMU-Perceptual-Computing-Lab#975)
- Loading branch information
1 parent
fc6d359
commit 6a6dd2e
Showing
9 changed files
with
634 additions
and
24 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
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,7 @@ | ||
#ifndef OPENPOSE_UNITY_HEADERS_HPP | ||
#define OPENPOSE_UNITY_HEADERS_HPP | ||
|
||
// unity module | ||
#include <openpose/unity/unityBinding.hpp> | ||
|
||
#endif // OPENPOSE_UNITY_HEADERS_HPP |
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,3 @@ | ||
// Temporarily, all the code is located in | ||
// src/openpose/unity/unityBinding.cpp | ||
// TODO: Move functionality from unityBinding.cpp to this class |
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 |
---|---|---|
|
@@ -24,4 +24,3 @@ if (UNIX OR APPLE) | |
LIBRARY DESTINATION lib | ||
ARCHIVE DESTINATION lib/openpose) | ||
endif (UNIX OR APPLE) | ||
|
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,4 +1,4 @@ | ||
set(SOURCES_OP_POSE | ||
set(SOURCES_OP_POSE | ||
defineTemplates.cpp | ||
poseCpuRenderer.cpp | ||
poseExtractor.cpp | ||
|
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,21 @@ | ||
set(SOURCES_OP_UNITY | ||
unityBinding.cpp | ||
) | ||
|
||
include(${CMAKE_SOURCE_DIR}/cmake/Utils.cmake) | ||
set(SOURCES_OP_UNITY_WITH_CP "" PARENT_SCOPE) | ||
prepend(SOURCES_OP_UNITY_WITH_CP ${CMAKE_CURRENT_SOURCE_DIR} ${SOURCES_OP_UNITY}) | ||
set(SOURCES_OP_UNITY_WITH_CP ${SOURCES_OP_UNITY_WITH_CP} PARENT_SCOPE) | ||
set(SOURCES_OP_FILESTREAM_WITH_CP ${SOURCES_OP_FILESTREAM_WITH_CP} PARENT_SCOPE) | ||
set(SOURCES_OPENPOSE ${SOURCES_OPENPOSE} ${SOURCES_OP_UNITY_WITH_CP} PARENT_SCOPE) | ||
|
||
if (UNIX OR APPLE) | ||
add_library(openpose_unity ${SOURCES_OP_UNITY}) | ||
# target_link_libraries(openpose_unity openpose_pose ${OpenCV_LIBS}) | ||
|
||
install(TARGETS openpose_unity | ||
EXPORT OpenPose | ||
RUNTIME DESTINATION bin | ||
LIBRARY DESTINATION lib | ||
ARCHIVE DESTINATION lib/openpose) | ||
endif (UNIX OR APPLE) |
Oops, something went wrong.