All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
faceGpuRenderer.hpp
Go to the documentation of this file.
#ifndef OPENPOSE_FACE_FACE_GPU_RENDERER_HPP
#define OPENPOSE_FACE_FACE_GPU_RENDERER_HPP
#include <openpose/core/common.hpp>
#include <openpose/core/gpuRenderer.hpp>
#include <openpose/face/faceParameters.hpp>
#include <openpose/face/faceRenderer.hpp>
namespace op
{
class OP_API FaceGpuRenderer : public GpuRenderer, public FaceRenderer
{
public:
FaceGpuRenderer(const float renderThreshold,
const float alphaKeypoint = FACE_DEFAULT_ALPHA_KEYPOINT,
const float alphaHeatMap = FACE_DEFAULT_ALPHA_HEAT_MAP);
virtual ~FaceGpuRenderer();
void initializationOnThread();
void renderFaceInherited(Array<float>& outputData, const Array<float>& faceKeypoints);
private:
float* pGpuFace; // GPU aux memory
DELETE_COPY(FaceGpuRenderer);
};
}
#endif // OPENPOSE_FACE_FACE_GPU_RENDERER_HPP
DELETE_COPY
#define DELETE_COPY(className)
Definition: macros.hpp:34
faceRenderer.hpp
op::FaceRenderer
Definition: faceRenderer.hpp:8
common.hpp
op::Array< float >
op::GpuRenderer
Definition: gpuRenderer.hpp:11
gpuRenderer.hpp
OP_API
#define OP_API
Definition: macros.hpp:19
op::FACE_DEFAULT_ALPHA_HEAT_MAP
const auto FACE_DEFAULT_ALPHA_HEAT_MAP
Definition: faceParameters.hpp:30
faceParameters.hpp
op::FACE_DEFAULT_ALPHA_KEYPOINT
const auto FACE_DEFAULT_ALPHA_KEYPOINT
Definition: faceParameters.hpp:29
op::FaceGpuRenderer
Definition: faceGpuRenderer.hpp:11