Enrollment 28.2.0
Loading...
Searching...
No Matches

SDK initialisation configuration for manual init. More...

#include <InitializerConfig.h>

Collaboration diagram for InitializerConfig:

Public Member Functions

std::vector< uint8_t > GetLicenseContent () const
 Returns license content.
std::string GetModelsPath () const
 Returns the IFace models directory path.
int GetFaceIrisOpencvThreads () const
 Returns the configured OpenCV thread count for face and iris processing.
int GetFaceIrisOrtIntraThreads () const
 Returns the configured ONNX Runtime intra-op thread count for face and iris processing.
int GetFaceIrisOrtInterThreads () const
 Returns the configured ONNX Runtime inter-op thread count for face and iris processing.

Friends

class InitializerConfigBuilder

Detailed Description

SDK initialisation configuration for manual init.

Built via InitializerConfigBuilder. Thread pools must be set explicitly in the builder (InitializerConfigBuilder::UseAllAvailableCores(), InitializerConfigBuilder::UseSingleCore(), or the SetFaceIris*Threads setters). Zero in a thread field means use all available cores for that pool.

Set license data via the builder. Models path may be left unset to use DefaultModelsDirectory().

Member Function Documentation

◆ GetFaceIrisOpencvThreads()

int GetFaceIrisOpencvThreads ( ) const
inlinenodiscard

Returns the configured OpenCV thread count for face and iris processing.

Returns
thread count, or 0 to use all available cores

◆ GetFaceIrisOrtInterThreads()

int GetFaceIrisOrtInterThreads ( ) const
inlinenodiscard

Returns the configured ONNX Runtime inter-op thread count for face and iris processing.

Returns
thread count, or 0 to use all available cores

◆ GetFaceIrisOrtIntraThreads()

int GetFaceIrisOrtIntraThreads ( ) const
inlinenodiscard

Returns the configured ONNX Runtime intra-op thread count for face and iris processing.

Returns
thread count, or 0 to use all available cores

◆ GetLicenseContent()

std::vector< uint8_t > GetLicenseContent ( ) const
inlinenodiscard

Returns license content.

Returns
license file content, or an empty vector when not set in the builder

◆ GetModelsPath()

std::string GetModelsPath ( ) const
inlinenodiscard

Returns the IFace models directory path.

Returns
path to models

The documentation for this struct was generated from the following file: