1 #ifdef USE_3D_ADAM_MODEL
2 #ifndef OPENPOSE_3D_JOINT_ANGLE_ESTIMATION_HPP
3 #define OPENPOSE_3D_JOINT_ANGLE_ESTIMATION_HPP
8 #ifdef USE_3D_ADAM_MODEL
9 #include <adam/totalmodel.h>
11 #include <opencv2/core/core.hpp>
16 OP_API int mapOPToAdam(
const int oPPart);
18 class OP_API JointAngleEstimation
21 static const std::shared_ptr<const TotalModel> getTotalModel();
23 JointAngleEstimation(
const bool returnJacobian);
25 void initializationOnThread();
27 void adamFastFit(Eigen::Matrix<double, 62, 3, Eigen::RowMajor>& adamPose,
28 Eigen::Vector3d& adamTranslation,
29 Eigen::Matrix<double, Eigen::Dynamic, 1>& vtVec,
30 Eigen::Matrix<double, Eigen::Dynamic, 1>& j0Vec,
31 Eigen::VectorXd& adamFacecoeffsExp,
32 const Array<float>& poseKeypoints3D,
33 const Array<float>& faceKeypoints3D,
34 const std::array<Array<float>, 2>& handKeypoints3D);
39 struct ImplJointAngleEstimation;
40 std::shared_ptr<ImplJointAngleEstimation> spImpl;
48 #endif // OPENPOSE_3D_JOINT_ANGLE_ESTIMATION_HPP
#define DELETE_COPY(className)
Definition: macros.hpp:31
std::array< T, N > array
Definition: cl2.hpp:594
#define OP_API
Definition: macros.hpp:16