All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
faceDetector.hpp
Go to the documentation of this file.
#ifndef OPENPOSE_FACE_FACE_DETECTOR_HPP
#define OPENPOSE_FACE_FACE_DETECTOR_HPP
#include <openpose/core/common.hpp>
#include <openpose/pose/enumClasses.hpp>
namespace op
{
class OP_API FaceDetector
{
public:
explicit FaceDetector(const PoseModel poseModel);
virtual ~FaceDetector();
std::vector<Rectangle<float>> detectFaces(const Array<float>& poseKeypoints) const;
private:
const unsigned int mNeck;
const unsigned int mNose;
const unsigned int mLEar;
const unsigned int mREar;
const unsigned int mLEye;
const unsigned int mREye;
DELETE_COPY(FaceDetector);
};
}
#endif // OPENPOSE_FACE_FACE_DETECTOR_HPP
DELETE_COPY
#define DELETE_COPY(className)
Definition: macros.hpp:34
enumClasses.hpp
op::PoseModel
PoseModel
Definition: enumClasses.hpp:9
common.hpp
op::Array< float >
OP_API
#define OP_API
Definition: macros.hpp:19
op::FaceDetector
Definition: faceDetector.hpp:9