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
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  ~HandGpuRenderer();
19 
20  void initializationOnThread();
21 
22  void renderHand(Array<float>& outputData, const std::array<Array<float>, 2>& handKeypoints);
23 
24  private:
25  float* pGpuHand; // GPU aux memory
26 
28  };
29 }
30 
31 #endif // OPENPOSE_HAND_HAND_GPU_RENDERER_HPP
#define DELETE_COPY(className)
Definition: macros.hpp:30
std::array< T, N > array
Definition: cl2.hpp:594
const auto HAND_DEFAULT_ALPHA_HEAT_MAP
Definition: handParameters.hpp:49
Definition: handRenderer.hpp:8
Definition: handGpuRenderer.hpp:11
const auto HAND_DEFAULT_ALPHA_KEYPOINT
Definition: handParameters.hpp:48
Definition: gpuRenderer.hpp:11
#define OP_API
Definition: macros.hpp:15