1 #ifndef OPENPOSE_POSE_POSE_GPU_RENDERER_HPP
2 #define OPENPOSE_POSE_POSE_GPU_RENDERER_HPP
18 const PoseModel poseModel,
const std::shared_ptr<PoseExtractorNet>& poseExtractorNet,
19 const float renderThreshold,
const bool blendOriginalFrame =
true,
28 const float scaleInputToOutput,
29 const float scaleNetToOutput = -1.f);
32 const std::shared_ptr<PoseExtractorNet> spPoseExtractorNet;
PoseGpuRenderer(const PoseModel poseModel, const std::shared_ptr< PoseExtractorNet > &poseExtractorNet, 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)
void initializationOnThread()
virtual ~PoseGpuRenderer()
#define DELETE_COPY(className)
const auto POSE_DEFAULT_ALPHA_KEYPOINT
const auto POSE_DEFAULT_ALPHA_HEAT_MAP