OpenPose  1.7.0
The first real-time multi-person system to jointly detect human body, hand, facial, and foot keypoints
faceDetectorOpenCV.hpp
Go to the documentation of this file.
1 #ifndef OPENPOSE_FACE_FACE_DETECTOR_OPENCV_HPP
2 #define OPENPOSE_FACE_FACE_DETECTOR_OPENCV_HPP
3 
5 
6 namespace op
7 {
9  {
10  public:
11  explicit FaceDetectorOpenCV(const std::string& modelFolder);
12 
14 
15  // No thread-save
16  std::vector<Rectangle<float>> detectFaces(const Matrix& inputData);
17 
18  private:
19  // PIMPL idiom
20  // http://www.cppsamples.com/common-tasks/pimpl.html
21  struct ImplFaceDetectorOpenCV;
22  std::unique_ptr<ImplFaceDetectorOpenCV> upImpl;
23 
25  };
26 }
27 
28 #endif // OPENPOSE_FACE_FACE_DETECTOR_OPENCV_HPP
virtual ~FaceDetectorOpenCV()
FaceDetectorOpenCV(const std::string &modelFolder)
std::vector< Rectangle< float > > detectFaces(const Matrix &inputData)
#define OP_API
Definition: macros.hpp:18
#define DELETE_COPY(className)
Definition: macros.hpp:32