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 virtual ~JointAngleEstimation();
27 void initializationOnThread();
29 void adamFastFit(Eigen::Matrix<double, 62, 3, Eigen::RowMajor>& adamPose,
30 Eigen::Vector3d& adamTranslation,
31 Eigen::Matrix<double, Eigen::Dynamic, 1>& vtVec,
32 Eigen::Matrix<double, Eigen::Dynamic, 1>& j0Vec,
33 Eigen::VectorXd& adamFacecoeffsExp,
34 const Array<float>& poseKeypoints3D,
35 const Array<float>& faceKeypoints3D,
36 const std::array<Array<float>, 2>& handKeypoints3D);
41 struct ImplJointAngleEstimation;
42 std::shared_ptr<ImplJointAngleEstimation> spImpl;
50 #endif // OPENPOSE_3D_JOINT_ANGLE_ESTIMATION_HPP
#define DELETE_COPY(className)
Definition: macros.hpp:33
std::array< T, N > array
Definition: cl2.hpp:594
#define OP_API
Definition: macros.hpp:18