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
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
op::Array< float >
op::FaceDetector
Definition:
faceDetector.hpp:10
op::FaceDetector::~FaceDetector
virtual ~FaceDetector()
op::FaceDetector::detectFaces
std::vector< Rectangle< float > > detectFaces(const Array< float > &poseKeypoints) const
op::FaceDetector::FaceDetector
FaceDetector(const PoseModel poseModel)
common.hpp
OP_API
#define OP_API
Definition:
macros.hpp:18
DELETE_COPY
#define DELETE_COPY(className)
Definition:
macros.hpp:32
op
Definition:
cameraParameterReader.hpp:7
op::PoseModel
PoseModel
Definition:
enumClasses.hpp:10
enumClasses.hpp
include
openpose
face
faceDetector.hpp
Generated by
1.9.1