File size: 653 Bytes
7fc5a59 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | #ifndef OPENPOSE_HAND_HAND_RENDERER_HPP
#define OPENPOSE_HAND_HAND_RENDERER_HPP
#include <openpose/core/common.hpp>
namespace op
{
class OP_API HandRenderer
{
public:
virtual ~HandRenderer(){};
virtual void initializationOnThread(){};
void renderHand(Array<float>& outputData, const std::array<Array<float>, 2>& handKeypoints,
const float scaleInputToOutput);
private:
virtual void renderHandInherited(Array<float>& outputData,
const std::array<Array<float>, 2>& handKeypoints) = 0;
};
}
#endif // OPENPOSE_HAND_HAND_RENDERER_HPP
|