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
renderPose.hpp
Go to the documentation of this file.
1 #ifndef OPENPOSE_POSE_RENDER_POSE_HPP
2 #define OPENPOSE_POSE_RENDER_POSE_HPP
3
4 #include <opencv2/core/core.hpp> // cv::Mat
5 #include <openpose/core/common.hpp>
6 #include <openpose/pose/enumClasses.hpp>
7 #include <openpose/pose/poseParametersRender.hpp>
8
9 namespace op
10 {
11 OP_API void renderPoseKeypointsCpu(Array<float>& frameArray, const Array<float>& poseKeypoints,
12 const PoseModel poseModel, const float renderThreshold,
13 const bool blendOriginalFrame = true);
14
15 void renderPoseKeypointsGpu(float* framePtr, const PoseModel poseModel, const int numberPeople,
16 const Point<int>& frameSize, const float* const posePtr,
17 const float renderThreshold, const bool googlyEyes = false,
18 const bool blendOriginalFrame = true,
19 const float alphaBlending = POSE_DEFAULT_ALPHA_KEYPOINT);
20
21 void renderPoseHeatMapGpu(float* frame, const Point<int>& frameSize, const float* const heatMapPtr,
22 const Point<int>& heatMapSize, const float scaleToKeepRatio,
23 const unsigned int part,
24 const float alphaBlending = POSE_DEFAULT_ALPHA_HEAT_MAP);
25
26 void renderPoseHeatMapsGpu(float* frame, const PoseModel poseModel, const Point<int>& frameSize,
27 const float* const heatMapPtr, const Point<int>& heatMapSize,
28 const float scaleToKeepRatio,
29 const float alphaBlending = POSE_DEFAULT_ALPHA_HEAT_MAP);
30
31 void renderPosePAFGpu(float* framePtr, const PoseModel poseModel, const Point<int>& frameSize,
32 const float* const heatMapPtr, const Point<int>& heatMapSize,
33 const float scaleToKeepRatio, const int part,
34 const float alphaBlending = POSE_DEFAULT_ALPHA_HEAT_MAP);
35
36 void renderPosePAFsGpu(float* framePtr, const PoseModel poseModel, const Point<int>& frameSize,
37 const float* const heatMapPtr, const Point<int>& heatMapSize,
38 const float scaleToKeepRatio,
39 const float alphaBlending = POSE_DEFAULT_ALPHA_HEAT_MAP);
40
41 void renderPoseDistanceGpu(float* framePtr, const Point<int>& frameSize, const float* const heatMapPtr,
42 const Point<int>& heatMapSize, const float scaleToKeepRatio,
43 const unsigned int part, const float alphaBlending = POSE_DEFAULT_ALPHA_HEAT_MAP);
44 }
45
46 #endif // OPENPOSE_POSE_RENDER_POSE_HPP
enumClasses.hpp
op::POSE_DEFAULT_ALPHA_KEYPOINT
const auto POSE_DEFAULT_ALPHA_KEYPOINT
Definition: poseParametersRender.hpp:10
op::renderPoseKeypointsCpu
OP_API void renderPoseKeypointsCpu(Array< float > &frameArray, const Array< float > &poseKeypoints, const PoseModel poseModel, const float renderThreshold, const bool blendOriginalFrame=true)
op::PoseModel
PoseModel
Definition: enumClasses.hpp:9
op::renderPoseDistanceGpu
void renderPoseDistanceGpu(float *framePtr, const Point< int > &frameSize, const float *const heatMapPtr, const Point< int > &heatMapSize, const float scaleToKeepRatio, const unsigned int part, const float alphaBlending=POSE_DEFAULT_ALPHA_HEAT_MAP)
op::renderPoseHeatMapsGpu
void renderPoseHeatMapsGpu(float *frame, const PoseModel poseModel, const Point< int > &frameSize, const float *const heatMapPtr, const Point< int > &heatMapSize, const float scaleToKeepRatio, const float alphaBlending=POSE_DEFAULT_ALPHA_HEAT_MAP)
common.hpp
op::renderPoseHeatMapGpu
void renderPoseHeatMapGpu(float *frame, const Point< int > &frameSize, const float *const heatMapPtr, const Point< int > &heatMapSize, const float scaleToKeepRatio, const unsigned int part, const float alphaBlending=POSE_DEFAULT_ALPHA_HEAT_MAP)
op::renderPoseKeypointsGpu
void renderPoseKeypointsGpu(float *framePtr, const PoseModel poseModel, const int numberPeople, const Point< int > &frameSize, const float *const posePtr, const float renderThreshold, const bool googlyEyes=false, const bool blendOriginalFrame=true, const float alphaBlending=POSE_DEFAULT_ALPHA_KEYPOINT)
poseParametersRender.hpp
op::renderPosePAFsGpu
void renderPosePAFsGpu(float *framePtr, const PoseModel poseModel, const Point< int > &frameSize, const float *const heatMapPtr, const Point< int > &heatMapSize, const float scaleToKeepRatio, const float alphaBlending=POSE_DEFAULT_ALPHA_HEAT_MAP)
op::renderPosePAFGpu
void renderPosePAFGpu(float *framePtr, const PoseModel poseModel, const Point< int > &frameSize, const float *const heatMapPtr, const Point< int > &heatMapSize, const float scaleToKeepRatio, const int part, const float alphaBlending=POSE_DEFAULT_ALPHA_HEAT_MAP)
OP_API
#define OP_API
Definition: macros.hpp:19
op::POSE_DEFAULT_ALPHA_HEAT_MAP
const auto POSE_DEFAULT_ALPHA_HEAT_MAP
Definition: poseParametersRender.hpp:11