OpenPose  1.7.0
The first real-time multi-person system to jointly detect human body, hand, facial, and foot keypoints
poseRenderer.hpp
Go to the documentation of this file.
1 #ifndef OPENPOSE_POSE_POSE_RENDERER_HPP
2 #define OPENPOSE_POSE_POSE_RENDERER_HPP
3 
4 #include <map>
7 
8 namespace op
9 {
11  {
12  public:
13  PoseRenderer(const PoseModel poseModel);
14 
15  virtual ~PoseRenderer();
16 
17  virtual void initializationOnThread(){};
18 
19  virtual std::pair<int, std::string> renderPose(
20  Array<float>& outputData, const Array<float>& poseKeypoints, const float scaleInputToOutput,
21  const float scaleNetToOutput = -1.f) = 0;
22 
23  protected:
25  const std::map<unsigned int, std::string> mPartIndexToName;
26 
27  private:
28 
30  };
31 }
32 
33 #endif // OPENPOSE_POSE_POSE_RENDERER_HPP
PoseRenderer(const PoseModel poseModel)
virtual ~PoseRenderer()
const PoseModel mPoseModel
virtual std::pair< int, std::string > renderPose(Array< float > &outputData, const Array< float > &poseKeypoints, const float scaleInputToOutput, const float scaleNetToOutput=-1.f)=0
const std::map< unsigned int, std::string > mPartIndexToName
virtual void initializationOnThread()
#define OP_API
Definition: macros.hpp:18
#define DELETE_COPY(className)
Definition: macros.hpp:32
PoseModel
Definition: enumClasses.hpp:10