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  // No thread-save
16  std::vector<Rectangle<float>> detectFaces(const cv::Mat& cvInputData);
17 
18  private:
19  cv::CascadeClassifier mFaceCascade;
20 
22  };
23 }
24 
25 #endif // OPENPOSE_FACE_FACE_DETECTOR_OPENCV_HPP
#define DELETE_COPY(className)
Definition: macros.hpp:31
Definition: faceDetectorOpenCV.hpp:10
#define OP_API
Definition: macros.hpp:16
std::string string
Definition: cl2.hpp:574