OpenPose  1.7.0
The first real-time multi-person system to jointly detect human body, hand, facial, and foot keypoints
poseCpuRenderer.hpp
Go to the documentation of this file.
1 #ifndef OPENPOSE_POSE_POSE_CPU_RENDERER_HPP
2 #define OPENPOSE_POSE_POSE_CPU_RENDERER_HPP
3 
9 
10 namespace op
11 {
13  {
14  public:
16  const PoseModel poseModel, const float renderThreshold, const bool blendOriginalFrame = true,
17  const float alphaKeypoint = POSE_DEFAULT_ALPHA_KEYPOINT,
18  const float alphaHeatMap = POSE_DEFAULT_ALPHA_HEAT_MAP, const unsigned int elementToRender = 0u);
19 
20  virtual ~PoseCpuRenderer();
21 
22  std::pair<int, std::string> renderPose(
23  Array<float>& outputData, const Array<float>& poseKeypoints, const float scaleInputToOutput,
24  const float scaleNetToOutput = -1.f);
25 
26  private:
28  };
29 }
30 
31 #endif // OPENPOSE_POSE_POSE_CPU_RENDERER_HPP
PoseCpuRenderer(const PoseModel poseModel, const float renderThreshold, const bool blendOriginalFrame=true, const float alphaKeypoint=POSE_DEFAULT_ALPHA_KEYPOINT, const float alphaHeatMap=POSE_DEFAULT_ALPHA_HEAT_MAP, const unsigned int elementToRender=0u)
std::pair< int, std::string > renderPose(Array< float > &outputData, const Array< float > &poseKeypoints, const float scaleInputToOutput, const float scaleNetToOutput=-1.f)
virtual ~PoseCpuRenderer()
#define OP_API
Definition: macros.hpp:18
#define DELETE_COPY(className)
Definition: macros.hpp:32
const auto POSE_DEFAULT_ALPHA_KEYPOINT
const auto POSE_DEFAULT_ALPHA_HEAT_MAP
PoseModel
Definition: enumClasses.hpp:10