OpenPose  1.7.0
The first real-time multi-person system to jointly detect human body, hand, facial, and foot keypoints
faceDetector.hpp
Go to the documentation of this file.
1 #ifndef OPENPOSE_FACE_FACE_DETECTOR_HPP
2 #define OPENPOSE_FACE_FACE_DETECTOR_HPP
3 
6 
7 namespace op
8 {
10  {
11  public:
12  explicit FaceDetector(const PoseModel poseModel);
13 
14  virtual ~FaceDetector();
15 
16  std::vector<Rectangle<float>> detectFaces(const Array<float>& poseKeypoints) const;
17 
18  private:
19  const unsigned int mNeck;
20  const unsigned int mNose;
21  const unsigned int mLEar;
22  const unsigned int mREar;
23  const unsigned int mLEye;
24  const unsigned int mREye;
25 
27  };
28 }
29 
30 #endif // OPENPOSE_FACE_FACE_DETECTOR_HPP
virtual ~FaceDetector()
std::vector< Rectangle< float > > detectFaces(const Array< float > &poseKeypoints) const
FaceDetector(const PoseModel poseModel)
#define OP_API
Definition: macros.hpp:18
#define DELETE_COPY(className)
Definition: macros.hpp:32
PoseModel
Definition: enumClasses.hpp:10