Face SDK  1.13.0 Mozart release
Face Recognition Software Development Kit
face_detector.h
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>
9 #include <face_sdk_base/license.h>
10 
11 namespace face_sdk
12 {
28  {
29  public:
30 
31  virtual ~face_detector() = default;
32 
38  virtual std::vector<face_sdk::face_set> detect_faces(const face_sdk::image_set &images, float confidence) = 0;
39 
42  virtual uint32_t version() const noexcept = 0;
43  };
44 
55  std::shared_ptr<face_sdk::face_detector> FACE_SDK_EXPORT make_face_detector(
56  uint32_t version,
57  const std::shared_ptr<face_sdk::license> &license,
58  const std::shared_ptr<face_sdk::data_container> &container,
59  uint32_t batch_size,
60  int32_t compute_device);
61 
71  std::shared_ptr<face_sdk::face_detector> FACE_SDK_EXPORT make_face_detector(
72  uint32_t version,
73  const std::shared_ptr<face_sdk::license> &license,
74  uint32_t batch_size,
75  int32_t compute_device);
76 
86  std::shared_ptr<face_sdk::face_detector> FACE_SDK_EXPORT make_face_detector(
87  uint32_t version,
88  const std::shared_ptr<face_sdk::data_container> &container,
89  uint32_t batch_size,
90  int32_t compute_device);
91 
92 
101  std::shared_ptr<face_sdk::face_detector> FACE_SDK_EXPORT make_face_detector(
102  uint32_t version,
103  uint32_t batch_size,
104  int32_t compute_device);
105 
107 }
108 
109 #endif // FACE_SDK_FACE_DETECTOR_H
virtual uint32_t version() const noexcept=0
Face detector version. See Face Detector versions.
virtual std::vector< face_sdk::face_set > detect_faces(const face_sdk::image_set &images, float confidence)=0
Detect faces on specified images.
Face detection algorithm. The Face detection find faces on images.
Definition: face_detector.h:27
Definition: alignment_info.h:8
The license object. A license object provides information about your limits in face_sdk. See Licensing.
Definition: license.h:26
std::shared_ptr< face_sdk::face_detector > 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...