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
4
#include <
openpose/core/common.hpp
>
5
6
namespace
op
7
{
8
class
OP_API
FaceDetectorOpenCV
9
{
10
public
:
11
explicit
FaceDetectorOpenCV
(
const
std::string& modelFolder);
12
13
virtual
~FaceDetectorOpenCV
();
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
24
DELETE_COPY
(
FaceDetectorOpenCV
);
25
};
26
}
27
28
#endif
// OPENPOSE_FACE_FACE_DETECTOR_OPENCV_HPP
op::FaceDetectorOpenCV
Definition:
faceDetectorOpenCV.hpp:9
op::FaceDetectorOpenCV::~FaceDetectorOpenCV
virtual ~FaceDetectorOpenCV()
op::FaceDetectorOpenCV::FaceDetectorOpenCV
FaceDetectorOpenCV(const std::string &modelFolder)
op::FaceDetectorOpenCV::detectFaces
std::vector< Rectangle< float > > detectFaces(const Matrix &inputData)
op::Matrix
Definition:
matrix.hpp:96
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
include
openpose
face
faceDetectorOpenCV.hpp
Generated by
1.9.1