Face SDK  1.13.0 Mozart release
Face Recognition Software Development Kit
Classes | Functions
cpp interface

Classes

class  face_sdk::builder
 Builder algorithm. The Builder algorithm builds FIR for specified aligned faces. More...
 

Functions

std::shared_ptr< face_sdk::builderface_sdk::make_builder (uint32_t version, const std::shared_ptr< face_sdk::license > &license, const std::shared_ptr< face_sdk::data_container > &container, uint32_t batch_size, int32_t compute_device)
 Makes the face_sdk::builder object with specified version, license, data container, batch size and compute_device. More...
 
std::shared_ptr< face_sdk::builderface_sdk::make_builder (uint32_t version, const std::shared_ptr< face_sdk::license > &license, const std::shared_ptr< face_sdk::data_container > &container, uint32_t batch_size, int32_t compute_device, bool produce_short_firs)
 Makes the face_sdk::builder object with specified version, license, data container, batch size and compute_device. More...
 
std::shared_ptr< face_sdk::builderface_sdk::make_builder (uint32_t version, const std::shared_ptr< face_sdk::license > &license, uint32_t batch_size, int32_t compute_device)
 Makes the face_sdk::builder object with specified version, license, batch size and compute device. The data container is loaded from known paths (see Known paths). More...
 
std::shared_ptr< face_sdk::builderface_sdk::make_builder (uint32_t version, const std::shared_ptr< face_sdk::license > &license, uint32_t batch_size, int32_t compute_device, bool produce_short_firs)
 
std::shared_ptr< face_sdk::builderface_sdk::make_builder (uint32_t version, const std::shared_ptr< face_sdk::data_container > &container, uint32_t batch_size, int32_t compute_device)
 Makes the face_sdk::builder object with specified version, data container, batch size and compute device. The license is loaded from known paths (see Known paths). More...
 
std::shared_ptr< face_sdk::builderface_sdk::make_builder (uint32_t version, const std::shared_ptr< face_sdk::data_container > &container, uint32_t batch_size, int32_t compute_device, bool produce_short_firs)
 
std::shared_ptr< face_sdk::builderface_sdk::make_builder (uint32_t version, uint32_t batch_size, int32_t compute_device)
 Makes the face_sdk::builder object with specified version, batch size and compute device. The data container and the license are loaded from known paths (see Known paths). More...
 
std::shared_ptr< face_sdk::builderface_sdk::make_builder (uint32_t version, uint32_t batch_size, int32_t compute_device, bool produce_short_firs)
 

Detailed Description

Module extracts biometric templates (FIRs) from images, received after alignment.
Builder module has no assessment and extract template from any input, even if there is not face on the image.
Builder module is compatible with the same version of Fir Matcher!
Builder 200 requires Fir Matcher 200, Builder 210 requires Fir Matcher 210, etc

Function Documentation

◆ make_builder() [1/5]

std::shared_ptr<face_sdk::builder> face_sdk::make_builder ( uint32_t  version,
const std::shared_ptr< face_sdk::license > &  license,
const std::shared_ptr< face_sdk::data_container > &  container,
uint32_t  batch_size,
int32_t  compute_device 
)

Makes the face_sdk::builder object with specified version, license, data container, batch size and compute_device.

Parameters
[in]versionRequired version of the algorithm. See Builder versions.
[in]licenseThe license object. See Licensing.
[in]containerThe container with algorithm data.
[in]batch_sizeThe batch size. See Batching.
[in]compute_deviceThe compute device. -1 = CPU. 0, 1, ..., N - GPU device.
Exceptions
face_sdk::exceptionSee Exceptions handling.
Examples:
complex.cpp, and serialize.cpp.

◆ make_builder() [2/5]

std::shared_ptr<face_sdk::builder> face_sdk::make_builder ( uint32_t  version,
const std::shared_ptr< face_sdk::license > &  license,
const std::shared_ptr< face_sdk::data_container > &  container,
uint32_t  batch_size,
int32_t  compute_device,
bool  produce_short_firs 
)

Makes the face_sdk::builder object with specified version, license, data container, batch size and compute_device.

Parameters
[in]versionRequired version of the algorithm. See Builder versions.
[in]licenseThe license object. See Licensing.
[in]containerThe container with algorithm data.
[in]batch_sizeThe batch size. See Batching.
[in]compute_deviceThe compute device. -1 = CPU. 0, 1, ..., N - GPU device.
[in]produce_short_firsProduce short firs.
Exceptions
face_sdk::exceptionSee Exceptions handling.

◆ make_builder() [3/5]

std::shared_ptr<face_sdk::builder> face_sdk::make_builder ( uint32_t  version,
const std::shared_ptr< face_sdk::license > &  license,
uint32_t  batch_size,
int32_t  compute_device 
)

Makes the face_sdk::builder object with specified version, license, batch size and compute device. The data container is loaded from known paths (see Known paths).

Parameters
[in]versionRequired version of the algorithm. See Builder versions.
[in]licenseThe license object. See Licensing.
[in]batch_sizeThe batch size. See Batching.
[in]compute_deviceThe compute device. -1 = CPU. 0, 1, ..., N - GPU device.
Exceptions
face_sdk::exceptionSee Exceptions handling.

◆ make_builder() [4/5]

std::shared_ptr<face_sdk::builder> face_sdk::make_builder ( uint32_t  version,
const std::shared_ptr< face_sdk::data_container > &  container,
uint32_t  batch_size,
int32_t  compute_device 
)

Makes the face_sdk::builder object with specified version, data container, batch size and compute device. The license is loaded from known paths (see Known paths).

Parameters
[in]versionRequired version of the algorithm. See Builder versions.
[in]containerThe container with algorithm data.
[in]batch_sizeThe batch size. See Batching.
[in]compute_deviceThe compute device. -1 = CPU. 0, 1, ..., N - GPU device.
Exceptions
face_sdk::exceptionSee Exceptions handling.

◆ make_builder() [5/5]

std::shared_ptr<face_sdk::builder> face_sdk::make_builder ( uint32_t  version,
uint32_t  batch_size,
int32_t  compute_device 
)

Makes the face_sdk::builder object with specified version, batch size and compute device. The data container and the license are loaded from known paths (see Known paths).

Parameters
[in]versionRequired version of the algorithm. See Builder versions.
[in]batch_sizeThe batch size. See Batching.
[in]compute_deviceThe compute device. -1 = CPU. 0, 1, ..., N - GPU device.
Exceptions
face_sdk::exceptionSee Exceptions handling.