Face SDK  1.8.0 Mozart beta
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 {
29  {
30  public:
31 
32  virtual ~face_detector() = default;
33 
39  virtual std::vector<face_sdk::face_set> detect_faces(const face_sdk::image_set &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> &container,
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> &container,
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
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:28
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...