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 void initializationOnThread(){};
16 
17  virtual std::pair<int, std::string> renderPose(Array<float>& outputData, const Array<float>& poseKeypoints,
18  const float scaleInputToOutput,
19  const float scaleNetToOutput = -1.f) = 0;
20 
21  protected:
23  const std::map<unsigned int, std::string> mPartIndexToName;
24 
25  private:
26 
28  };
29 }
30 
31 #endif // OPENPOSE_POSE_POSE_RENDERER_HPP
#define DELETE_COPY(className)
Definition: macros.hpp:31
const PoseModel mPoseModel
Definition: poseRenderer.hpp:22
virtual void initializationOnThread()
Definition: poseRenderer.hpp:15
PoseModel
Definition: enumClasses.hpp:9
Definition: poseRenderer.hpp:10
const std::map< unsigned int, std::string > mPartIndexToName
Definition: poseRenderer.hpp:23
#define OP_API
Definition: macros.hpp:16