Face SDK  1.7 Mozart rc
Face Recognition Software Development Kit
Classes | Enumerations | Functions
Face Selector

Classes

class  face_sdk::face_selector
 Face selector algorithm. The Face selection selects the best face from input set, using specified algorithm. More...
 

Enumerations

enum  face_sdk::face_selection_algs { face_sdk::face_selection_algs::widest_face, face_sdk::face_selection_algs::biggest_confidence, face_sdk::face_selection_algs::closest_to_img_center }
 Face selection algorithms variants. Use in face_sdk::make_face_selector() functions. More...
 

Functions

std::shared_ptr< face_selector > FACE_SDK_EXPORT face_sdk::make_face_selector (face_selection_algs alg, int32_t for_face_detector)
 Makes the face_sdk::face_selector object with specified algorithm and face detector version. More...
 

Detailed Description

Module gets set of faces, select one and returns it. Selection depends on which algorithm you choose.
You can choose widest_face, biggest_confidence and closest_to_img_center.

Enumeration Type Documentation

◆ face_selection_algs

Face selection algorithms variants. Use in face_sdk::make_face_selector() functions.

closest_to_img_center can be used only with face detector version > 200.

Enumerator
widest_face 

The widest face will be chosen.

biggest_confidence 

Face with the biggest confidence will be chosen.

closest_to_img_center 

Face closest to the image center will be chosen.

Function Documentation

◆ make_face_selector()

std::shared_ptr<face_selector> FACE_SDK_EXPORT face_sdk::make_face_selector ( face_selection_algs  alg,
int32_t  for_face_detector 
)

Makes the face_sdk::face_selector object with specified algorithm and face detector version.

Parameters
[in]algRequired selection parameter of the algorithm.
[in]for_face_detectorThe version of the face detector algorithm. See Face Detector versions.
Exceptions
face_sdk::exceptionSee Exceptions handling.