OpenPose  1.7.0
The first real-time multi-person system to jointly detect human body, hand, facial, and foot keypoints
handGpuRenderer.hpp
Go to the documentation of this file.
1 #ifndef OPENPOSE_HAND_HAND_GPU_RENDERER_HPP
2 #define OPENPOSE_HAND_HAND_GPU_RENDERER_HPP
3 
8 
9 namespace op
10 {
12  {
13  public:
14  HandGpuRenderer(const float renderThreshold,
15  const float alphaKeypoint = HAND_DEFAULT_ALPHA_KEYPOINT,
16  const float alphaHeatMap = HAND_DEFAULT_ALPHA_HEAT_MAP);
17 
18  virtual ~HandGpuRenderer();
19 
21 
22  void renderHandInherited(Array<float>& outputData, const std::array<Array<float>, 2>& handKeypoints);
23 
24  private:
25  float* pGpuHand; // GPU aux memory
26  float* pMaxPtr; // GPU aux memory
27  float* pMinPtr; // GPU aux memory
28  float* pScalePtr; // GPU aux memory
29 
31  };
32 }
33 
34 #endif // OPENPOSE_HAND_HAND_GPU_RENDERER_HPP
void initializationOnThread()
HandGpuRenderer(const float renderThreshold, const float alphaKeypoint=HAND_DEFAULT_ALPHA_KEYPOINT, const float alphaHeatMap=HAND_DEFAULT_ALPHA_HEAT_MAP)
void renderHandInherited(Array< float > &outputData, const std::array< Array< float >, 2 > &handKeypoints)
virtual ~HandGpuRenderer()
#define OP_API
Definition: macros.hpp:18
#define DELETE_COPY(className)
Definition: macros.hpp:32
const auto HAND_DEFAULT_ALPHA_HEAT_MAP
const auto HAND_DEFAULT_ALPHA_KEYPOINT