mirror of
https://github.com/gosticks/openpose.git
synced 2026-08-12 20:30:20 +00:00
Updated submodules and TX2 JetPack scripts
This commit is contained in:
@@ -3,12 +3,12 @@ set(PYTHON_FILES
|
||||
__init__.py
|
||||
openpose_python.cpp)
|
||||
|
||||
pybind11_add_module(openpose_python openpose_python.cpp)
|
||||
pybind11_add_module(pyopenpose openpose_python.cpp)
|
||||
|
||||
target_link_libraries(openpose_python PRIVATE pybind11::module openpose ${OpenPose_3rdparty_libraries})
|
||||
SET_TARGET_PROPERTIES(openpose_python PROPERTIES PREFIX "")
|
||||
target_link_libraries(pyopenpose PRIVATE pybind11::module openpose ${OpenPose_3rdparty_libraries})
|
||||
SET_TARGET_PROPERTIES(pyopenpose PROPERTIES PREFIX "")
|
||||
configure_file(__init__.py __init__.py)
|
||||
|
||||
# install(TARGETS openpose_python DESTINATION python)
|
||||
# install(TARGETS pyopenpose DESTINATION python)
|
||||
# install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/ DESTINATION python/openpose FILES_MATCHING PATTERN "*.so")
|
||||
# install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/ DESTINATION python/openpose FILES_MATCHING PATTERN "*.py")
|
||||
|
||||
@@ -1 +1 @@
|
||||
from . import openpose_python as openpose_python
|
||||
from . import pyopenpose as pyopenpose
|
||||
|
||||
@@ -168,7 +168,7 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
PYBIND11_MODULE(openpose_python, m) {
|
||||
PYBIND11_MODULE(pyopenpose, m) {
|
||||
|
||||
// Functions for Init Params
|
||||
m.def("init_int", &init_int, "Init Function");
|
||||
|
||||
Reference in New Issue
Block a user