OpenPose  1.0.0rc2
OpenPose: A Real-Time Multi-Person Key-Point Detection And Multi-Threading C++ Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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 
4 #include <opencv2/core/core.hpp>
5 #include <opencv2/objdetect/objdetect.hpp>
7 
8 namespace op
9 {
11  {
12  public:
13  explicit FaceDetectorOpenCV(const std::string& modelFolder);
14 
15  virtual ~FaceDetectorOpenCV();
16 
17  // No thread-save
18  std::vector<Rectangle<float>> detectFaces(const cv::Mat& cvInputData);
19 
20  private:
21  cv::CascadeClassifier mFaceCascade;
22 
24  };
25 }
26 
27 #endif // OPENPOSE_FACE_FACE_DETECTOR_OPENCV_HPP
#define DELETE_COPY(className)
Definition: macros.hpp:33
Definition: faceDetectorOpenCV.hpp:10
#define OP_API
Definition: macros.hpp:18
std::string string
Definition: cl2.hpp:574