Face SDK  1.7 Mozart rc
Face Recognition Software Development Kit
face_detector.h
Go to the documentation of this file.
1 
4 #ifndef FACE_SDK_FACE_DETECTOR_H
5 #define FACE_SDK_FACE_DETECTOR_H
6 
7 #include <face_sdk_base/export.h>
8 #include <face_sdk_base/face.h>
10 
11 namespace face_sdk
12 {
29  {
30  public:
31 
32  virtual ~face_detector() = default;
33 
39  virtual std::vector<face_sdk::face_set> detect_faces(const std::vector< std::shared_ptr<face_sdk::image> > &images, float confidence) = 0;
40 
43  virtual uint32_t version() const noexcept = 0;
44  };
45 
56  std::shared_ptr<face_sdk::face_detector> FACE_SDK_EXPORT make_face_detector(
57  uint32_t version,
58  const std::shared_ptr<face_sdk::license> &license,
59  const std::shared_ptr<face_sdk::data_container> &contaner,
60  uint32_t batch_size,
61  int32_t compute_device);
62 
72  std::shared_ptr<face_sdk::face_detector> FACE_SDK_EXPORT make_face_detector(
73  uint32_t version,
74  const std::shared_ptr<face_sdk::license> &license,
75  uint32_t batch_size,
76  int32_t compute_device);
77 
87  std::shared_ptr<face_sdk::face_detector> FACE_SDK_EXPORT make_face_detector(
88  uint32_t version,
89  const std::shared_ptr<face_sdk::data_container> &contaner,
90  uint32_t batch_size,
91  int32_t compute_device);
92 
93 
102  std::shared_ptr<face_sdk::face_detector> FACE_SDK_EXPORT make_face_detector(
103  uint32_t version,
104  uint32_t batch_size,
105  int32_t compute_device);
106 
108 }
109 
110 #endif // FACE_SDK_FACE_DETECTOR_H
face_sdk::make_face_detector
std::shared_ptr< face_sdk::face_detector > FACE_SDK_EXPORT make_face_detector(uint32_t version, uint32_t batch_size, int32_t compute_device)
Makes the face_sdk::face_detector object with specified version, batch size and compute device....
face.h
face_sdk::face_detector::detect_faces
virtual std::vector< face_sdk::face_set > detect_faces(const std::vector< std::shared_ptr< face_sdk::image > > &images, float confidence)=0
Detect faces on specified images.
face_sdk::license
The license object. A license object provide information about your limits in face_sdk....
Definition: license.h:23
face_sdk::face_detector
Face detection algorithm. The Face detection find faces on images.
Definition: face_detector.h:28
license.h
face_sdk::face_detector::version
virtual uint32_t version() const noexcept=0
Face detector version. See Face Detector versions.
export.h