OpenPose 1.0.0rc2 OpenPose: A Real-Time Multi-Person Key-Point Detection And Multi-Threading C++ Library

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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
4 #include <openpose/core/common.hpp>
5 #include <openpose/core/renderer.hpp>
6 #include <openpose/pose/enumClasses.hpp>
7 #include <openpose/pose/poseParametersRender.hpp>
8 #include <openpose/pose/poseRenderer.hpp>
9
10 namespace op
11 {
12 class OP_API PoseCpuRenderer : public Renderer, public PoseRenderer
13 {
14 public:
15 PoseCpuRenderer(const PoseModel poseModel, const float renderThreshold, const bool blendOriginalFrame = true,
16 const float alphaKeypoint = POSE_DEFAULT_ALPHA_KEYPOINT,
17 const float alphaHeatMap = POSE_DEFAULT_ALPHA_HEAT_MAP,
18 const unsigned int elementToRender = 0u);
19
20 virtual ~PoseCpuRenderer();
21
22 std::pair<int, std::string> renderPose(Array<float>& outputData, const Array<float>& poseKeypoints,
23 const float scaleInputToOutput,
24 const float scaleNetToOutput = -1.f);
25
26 private:
27 DELETE_COPY(PoseCpuRenderer);
28 };
29 }
30
31 #endif // OPENPOSE_POSE_POSE_CPU_RENDERER_HPP
DELETE_COPY
#define DELETE_COPY(className)
Definition: macros.hpp:34
enumClasses.hpp
op::POSE_DEFAULT_ALPHA_KEYPOINT
const auto POSE_DEFAULT_ALPHA_KEYPOINT
Definition: poseParametersRender.hpp:10
op::PoseModel
PoseModel
Definition: enumClasses.hpp:9
common.hpp
poseRenderer.hpp
op::PoseRenderer
Definition: poseRenderer.hpp:10
poseParametersRender.hpp
op::Array< float >
OP_API
#define OP_API
Definition: macros.hpp:19
op::PoseCpuRenderer
Definition: poseCpuRenderer.hpp:12
op::Renderer
Definition: renderer.hpp:10
op::POSE_DEFAULT_ALPHA_HEAT_MAP
const auto POSE_DEFAULT_ALPHA_HEAT_MAP
Definition: poseParametersRender.hpp:11
renderer.hpp