OpenPose 1.0.0rc2 OpenPose: A Real-Time Multi-Person Key-Point Detection And Multi-Threading C++ Library

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
faceDetector.hpp
Go to the documentation of this file.
1 #ifndef OPENPOSE_FACE_FACE_DETECTOR_HPP
2 #define OPENPOSE_FACE_FACE_DETECTOR_HPP
3
4 #include <openpose/core/common.hpp>
5 #include <openpose/pose/enumClasses.hpp>
6
7 namespace op
8 {
9 class OP_API FaceDetector
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
26 DELETE_COPY(FaceDetector);
27 };
28 }
29
30 #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