Face SDK  1.13.0 Mozart release
Face Recognition Software Development Kit
Classes | Typedefs | Functions
Alignment info

Classes

struct  face_sdk__alignment_info
 Alignment info. Contains results of alignment. More...
 

Typedefs

typedef struct face_sdk__alignment_info face_sdk__alignment_info_t
 Alignment info. Contains results of alignment. More...
 

Functions

bool face_sdk__alignment_info__get_addr (const face_sdk__alignment_info_t *alignment_info, uint64_t *addr)
 Retrieves face_sdk__alignment_info_t object address * *. More...
 
bool face_sdk__alignment_info__get_face (const face_sdk__alignment_info_t *alignment_info, face_sdk__face_t **face)
 Retrieves stored face object. More...
 
bool face_sdk__alignment_info__get_version (const face_sdk__alignment_info_t *alignment_info, uint32_t *value)
 Retrieves version of the aligner's algorithm. More...
 
bool face_sdk__alignment_info__get_aligned_image (const face_sdk__alignment_info_t *alignment_info, face_sdk__image_t **image)
 Retrieves stored aligned image. More...
 
bool face_sdk__alignment_info__supports_face_exists (const face_sdk__alignment_info_t *alignment_info, bool *value)
 Retrieves face_exists feature availability. More...
 
bool face_sdk__alignment_info__face_exists (const face_sdk__alignment_info_t *alignment_info, float *value)
 The probability that the face exists. The interpretation of the value depends on the Alignment version. More...
 
bool face_sdk__alignment_info__has_affine_transform_matrix (const face_sdk__alignment_info_t *alignment_info, bool *value)
 Retrieves transform_matrix feature availability. More...
 
bool face_sdk__alignment_info__get_affine_transform_matrix (const face_sdk__alignment_info_t *alignment_info, face_sdk__matrix_t **matrix)
 Retrieves matrix for affine transform. More...
 
void face_sdk__alignment_info_free (face_sdk__alignment_info_t *alignment_info)
 Destroys face_sdk__alignment_info object. More...
 

Detailed Description

Typedef Documentation

◆ face_sdk__alignment_info_t

Alignment info. Contains results of alignment.

Alignment operation prepares images for further FIR building and age and gender classification. face_sdk__serializer allows to serialize and deserialize these objects.

Function Documentation

◆ face_sdk__alignment_info__face_exists()

bool face_sdk__alignment_info__face_exists ( const face_sdk__alignment_info_t alignment_info,
float *  value 
)

The probability that the face exists. The interpretation of the value depends on the Alignment version.

Parameters
[in]alignment_infoAlignment Info object
[out]valueProbability of face presence
Returns
true on success, false on failure. See last_error

◆ face_sdk__alignment_info__get_addr()

bool face_sdk__alignment_info__get_addr ( const face_sdk__alignment_info_t alignment_info,
uint64_t *  addr 
)

Retrieves face_sdk__alignment_info_t object address * *.

Parameters
[in]alignment_infoface_sdk__alignment_info_t object *
[out]addrObject address * *
Returns
true on success, false on failure. See last_error

◆ face_sdk__alignment_info__get_affine_transform_matrix()

bool face_sdk__alignment_info__get_affine_transform_matrix ( const face_sdk__alignment_info_t alignment_info,
face_sdk__matrix_t **  matrix 
)

Retrieves matrix for affine transform.

Parameters
[in]alignment_infoAlignment Info object
[out]matrixTransformation matrix
Returns
true on success, false on failure. See last_error

◆ face_sdk__alignment_info__get_aligned_image()

bool face_sdk__alignment_info__get_aligned_image ( const face_sdk__alignment_info_t alignment_info,
face_sdk__image_t **  image 
)

Retrieves stored aligned image.

Parameters
[in]alignment_infoAlignment Info object
[out]imageAligned Image object
Returns
true on success, false on failure. See last_error

◆ face_sdk__alignment_info__get_face()

bool face_sdk__alignment_info__get_face ( const face_sdk__alignment_info_t alignment_info,
face_sdk__face_t **  face 
)

Retrieves stored face object.

Parameters
[in]alignment_infoAlignment Info object
[out]faceFace object
Returns
true on success, false on failure. See last_error

◆ face_sdk__alignment_info__get_version()

bool face_sdk__alignment_info__get_version ( const face_sdk__alignment_info_t alignment_info,
uint32_t *  value 
)

Retrieves version of the aligner's algorithm.

Parameters
[in]alignment_infoAlignment Info object
[out]valueAlgorithm version
Returns
true on success, false on failure. See last_error

◆ face_sdk__alignment_info__has_affine_transform_matrix()

bool face_sdk__alignment_info__has_affine_transform_matrix ( const face_sdk__alignment_info_t alignment_info,
bool *  value 
)

Retrieves transform_matrix feature availability.

Parameters
[in]alignment_infoAlignment Info object
[out]valueTrue if face_sdk__alignment_info__get_affine_transform_matrix is supported, false if feature is not supported
Returns
true on success, false on failure. See last_error

◆ face_sdk__alignment_info__supports_face_exists()

bool face_sdk__alignment_info__supports_face_exists ( const face_sdk__alignment_info_t alignment_info,
bool *  value 
)

Retrieves face_exists feature availability.

Parameters
[in]alignment_infoAlignment Info object
[out]valueTrue if face_sdk__alignment_info__face_exists is supported, false if feature is not supported
Returns
true on success, false on failure. See last_error

◆ face_sdk__alignment_info_free()

void face_sdk__alignment_info_free ( face_sdk__alignment_info_t alignment_info)

Destroys face_sdk__alignment_info object.

Parameters
[in]alignment_infoAlignment Info object