OpenPose  1.0.0rc2
OpenPose: A Real-Time Multi-Person Key-Point Detection And Multi-Threading C++ Library
 All Classes Namespaces Files Functions Variables Enumerations Enumerator 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 
6 
7 namespace op
8 {
10  {
11  public:
12  PoseRenderer(const PoseModel poseModel);
13 
14  virtual void initializationOnThread(){};
15 
16  virtual std::pair<int, std::string> renderPose(Array<float>& outputData, const Array<float>& poseKeypoints, const float scaleNetToOutput = -1.f) = 0;
17 
18  protected:
20  const std::map<unsigned int, std::string> mPartIndexToName;
21 
22  private:
23 
25  };
26 }
27 
28 #endif // OPENPOSE_POSE_POSE_RENDERER_HPP
#define DELETE_COPY(className)
Definition: macros.hpp:25
const PoseModel mPoseModel
Definition: poseRenderer.hpp:19
virtual void initializationOnThread()
Definition: poseRenderer.hpp:14
PoseModel
Definition: enumClasses.hpp:9
Definition: poseRenderer.hpp:9
const std::map< unsigned int, std::string > mPartIndexToName
Definition: poseRenderer.hpp:20
#define OP_API
Definition: macros.hpp:5