File size: 683 Bytes
7fc5a59
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef OPENPOSE_HAND_GPU_HAND_RENDER_HPP
#define OPENPOSE_HAND_GPU_HAND_RENDER_HPP

#include <openpose/core/common.hpp>
#include <openpose/hand/handParameters.hpp>

namespace op
{
    OP_API void renderHandKeypointsCpu(
        Array<float>& frameArray, const std::array<Array<float>, 2>& handKeypoints, const float renderThreshold);

    void renderHandKeypointsGpu(
        float* framePtr, float* maxPtr, float* minPtr, float* scalePtr, const Point<unsigned int>& frameSize,
        const float* const handsPtr, const int numberHands, const float renderThreshold,
        const float alphaColorToAdd = HAND_DEFAULT_ALPHA_KEYPOINT);
}

#endif // OPENPOSE_HAND_GPU_HAND_RENDER_HPP