File size: 582 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
#ifndef OPENPOSE_FACE_FACE_RENDERER_HPP
#define OPENPOSE_FACE_FACE_RENDERER_HPP

#include <openpose/core/common.hpp>

namespace op
{
    class OP_API FaceRenderer
    {
    public:
        virtual ~FaceRenderer(){};

        virtual void initializationOnThread(){};

        void renderFace(Array<float>& outputData, const Array<float>& faceKeypoints,
                        const float scaleInputToOutput);

    private:
        virtual void renderFaceInherited(Array<float>& outputData, const Array<float>& faceKeypoints) = 0;
    };
}

#endif // OPENPOSE_FACE_FACE_RENDERER_HPP