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>
15 OP_API int mapOPToAdam(
const int oPPart);
17 class OP_API JointAngleEstimation
20 static const std::shared_ptr<const TotalModel> getTotalModel();
22 JointAngleEstimation(
const bool returnJacobian);
24 virtual ~JointAngleEstimation();
26 void initializationOnThread();
28 void adamFastFit(Eigen::Matrix<double, 62, 3, Eigen::RowMajor>& adamPose,
29 Eigen::Vector3d& adamTranslation,
30 Eigen::Matrix<double, Eigen::Dynamic, 1>& vtVec,
31 Eigen::Matrix<double, Eigen::Dynamic, 1>& j0Vec,
32 Eigen::VectorXd& adamFacecoeffsExp,
33 const Array<float>& poseKeypoints3D,
34 const Array<float>& faceKeypoints3D,
35 const std::array<Array<float>, 2>& handKeypoints3D);
40 struct ImplJointAngleEstimation;
41 std::shared_ptr<ImplJointAngleEstimation> spImpl;
#define DELETE_COPY(className)