Face SDK  1.14.1 Mozart release
Face Recognition Software Development Kit
face_selector.h
1 #pragma once
2 
3 #include <face_sdk_base/face.h>
4 #include <face_sdk_alignment/alignment.h>
5 
6 namespace face_sdk
7 {
21  {
22  widest_face,
25  };
26 
32  {
33  public:
34  virtual ~face_selector() = default;
35 
41  virtual std::shared_ptr<face_sdk::alignment_info> select_face(const face_sdk::alignment_info_set &alignment_infoes) const = 0;
42 
48  virtual std::shared_ptr<face_sdk::face> select_face(const face_sdk::face_set &faces) const = 0;
49  };
50 
58  std::shared_ptr<face_selector> FACE_SDK_EXPORT make_face_selector(face_selection_algs algorithm, uint32_t face_detector_version);
59 
61 }
Face selector. Face Selector selects the best face from input set, using specified algorithm...
Definition: face_selector.h:31
Face closest to the image center will be chosen.
Face with the biggest confidence will be chosen.
virtual std::shared_ptr< face_sdk::alignment_info > select_face(const face_sdk::alignment_info_set &alignment_infoes) const =0
Select face on specified aligned images.
Definition: alignment_info.h:8
std::shared_ptr< face_selector > make_face_selector(face_selection_algs algorithm, uint32_t face_detector_version)
Makes the face_sdk::face_selector object with specified algorithm and face detector version...
face_selection_algs
Face selection algorithms variants. Use in face_sdk::make_face_selector() functions.
Definition: face_selector.h:20
The widest face will be chosen.