OpenPose
1.7.0
The first real-time multi-person system to jointly detect human body, hand, facial, and foot keypoints
faceGpuRenderer.hpp
Go to the documentation of this file.
1
#ifndef OPENPOSE_FACE_FACE_GPU_RENDERER_HPP
2
#define OPENPOSE_FACE_FACE_GPU_RENDERER_HPP
3
4
#include <
openpose/core/common.hpp
>
5
#include <
openpose/core/gpuRenderer.hpp
>
6
#include <
openpose/face/faceParameters.hpp
>
7
#include <
openpose/face/faceRenderer.hpp
>
8
9
namespace
op
10
{
11
class
OP_API
FaceGpuRenderer
:
public
GpuRenderer
,
public
FaceRenderer
12
{
13
public
:
14
FaceGpuRenderer
(
const
float
renderThreshold,
15
const
float
alphaKeypoint =
FACE_DEFAULT_ALPHA_KEYPOINT
,
16
const
float
alphaHeatMap =
FACE_DEFAULT_ALPHA_HEAT_MAP
);
17
18
virtual
~FaceGpuRenderer
();
19
20
void
initializationOnThread
();
21
22
void
renderFaceInherited
(
Array<float>
& outputData,
const
Array<float>
& faceKeypoints);
23
24
private
:
25
float
* pGpuFace;
// GPU aux memory
26
float
* pMaxPtr;
// GPU aux memory
27
float
* pMinPtr;
// GPU aux memory
28
float
* pScalePtr;
// GPU aux memory
29
30
DELETE_COPY
(
FaceGpuRenderer
);
31
};
32
}
33
34
#endif
// OPENPOSE_FACE_FACE_GPU_RENDERER_HPP
op::Array< float >
op::FaceGpuRenderer
Definition:
faceGpuRenderer.hpp:12
op::FaceGpuRenderer::FaceGpuRenderer
FaceGpuRenderer(const float renderThreshold, const float alphaKeypoint=FACE_DEFAULT_ALPHA_KEYPOINT, const float alphaHeatMap=FACE_DEFAULT_ALPHA_HEAT_MAP)
op::FaceGpuRenderer::initializationOnThread
void initializationOnThread()
op::FaceGpuRenderer::~FaceGpuRenderer
virtual ~FaceGpuRenderer()
op::FaceGpuRenderer::renderFaceInherited
void renderFaceInherited(Array< float > &outputData, const Array< float > &faceKeypoints)
op::FaceRenderer
Definition:
faceRenderer.hpp:9
op::GpuRenderer
Definition:
gpuRenderer.hpp:12
common.hpp
faceParameters.hpp
faceRenderer.hpp
gpuRenderer.hpp
OP_API
#define OP_API
Definition:
macros.hpp:18
DELETE_COPY
#define DELETE_COPY(className)
Definition:
macros.hpp:32
op
Definition:
cameraParameterReader.hpp:7
op::FACE_DEFAULT_ALPHA_KEYPOINT
const auto FACE_DEFAULT_ALPHA_KEYPOINT
Definition:
faceParameters.hpp:29
op::FACE_DEFAULT_ALPHA_HEAT_MAP
const auto FACE_DEFAULT_ALPHA_HEAT_MAP
Definition:
faceParameters.hpp:30
include
openpose
face
faceGpuRenderer.hpp
Generated by
1.9.1