OpenPose  1.0.0rc2
OpenPose: A Real-Time Multi-Person Key-Point Detection And Multi-Threading C++ Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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(Array<float>& outputData, const Array<float>& poseKeypoints,
20  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
#define DELETE_COPY(className)
Definition: macros.hpp:34
const PoseModel mPoseModel
Definition: poseRenderer.hpp:24
virtual void initializationOnThread()
Definition: poseRenderer.hpp:17
PoseModel
Definition: enumClasses.hpp:9
Definition: poseRenderer.hpp:10
const std::map< unsigned int, std::string > mPartIndexToName
Definition: poseRenderer.hpp:25
#define OP_API
Definition: macros.hpp:19