Face SDK  1.7 Mozart rc
Face Recognition Software Development Kit
alignment.h
Go to the documentation of this file.
1 
3 #ifndef FACE_SDK_ALIGNMENT_H
4 #define FACE_SDK_ALIGNMENT_H
5 
9 #include <face_sdk_base/export.h>
10 
11 namespace face_sdk
12 {
30  class alignment
31  {
32  public:
33 
34  virtual ~alignment() = default;
35 
40  virtual face_sdk::alignment_info_set calc_alignment(const face_sdk::face_set &face_set) = 0;
41 
44  virtual uint32_t version() const noexcept = 0;
45 
48  virtual bool is_compatible(uint32_t detector_version) const noexcept = 0;
49  };
50 
61  std::shared_ptr<alignment> FACE_SDK_EXPORT make_alignment(
62  uint32_t version,
63  const std::shared_ptr<face_sdk::license> &license,
64  const std::shared_ptr<face_sdk::data_container> &contaner,
65  uint32_t batch_size,
66  int32_t compute_device);
67 
77  std::shared_ptr<alignment> FACE_SDK_EXPORT make_alignment(
78  uint32_t version,
79  const std::shared_ptr<face_sdk::data_container> &contaner,
80  uint32_t batch_size,
81  int32_t compute_device);
82 
92  std::shared_ptr<alignment> FACE_SDK_EXPORT make_alignment(
93  uint32_t version,
94  const std::shared_ptr<face_sdk::license> &license,
95  uint32_t batch_size,
96  int32_t compute_device);
97 
98 
107  std::shared_ptr<alignment> FACE_SDK_EXPORT make_alignment(
108  uint32_t version,
109  uint32_t batch_size,
110  int32_t compute_device);
111 
119  std::shared_ptr<alignment> FACE_SDK_EXPORT make_alignment(
120  uint32_t version,
121  const std::shared_ptr<face_sdk::license> &license);
122 
129  std::shared_ptr<alignment> FACE_SDK_EXPORT make_alignment(uint32_t version);
130 
132 }
133 
134 
135 #endif // FACE_SDK_ALIGNMENT_H
alignment_info.h
face_sdk::license
The license object. A license object provide information about your limits in face_sdk....
Definition: license.h:23
face_sdk::make_alignment
std::shared_ptr< alignment > FACE_SDK_EXPORT make_alignment(uint32_t version)
Makes the face_sdk::alignment object with needed version. Other required parameters are loaded from k...
face_sdk::alignment
Alignment operation prepares images for further FIR building and age and gender classification.
Definition: alignment.h:30
face_sdk::alignment::calc_alignment
virtual face_sdk::alignment_info_set calc_alignment(const face_sdk::face_set &face_set)=0
Performs alignment operation on specified face set.
license.h
data_container.h
face_sdk::alignment::is_compatible
virtual bool is_compatible(uint32_t detector_version) const noexcept=0
Function helps to you determine Face Detector and Alignemnt algorithms versions compatibility....
face_sdk::alignment::version
virtual uint32_t version() const noexcept=0
Algorithm's version. See Alignment versions.
export.h