![]() |
Face SDK
1.13.0 Mozart release
Face Recognition Software Development Kit
|
Classes | |
struct | face_sdk__license |
The license object. A license object provides information about your limits in face_sdk. See Licensing. More... | |
Typedefs | |
typedef struct face_sdk__license | face_sdk__license_t |
The license object. A license object provides information about your limits in face_sdk. See Licensing. More... | |
Functions | |
bool | face_sdk__license__get_addr (const face_sdk__license_t *license, uint64_t *addr) |
Retrieves face_sdk__license_t object address * *. More... | |
bool | face_sdk__license__get_license_info (const face_sdk__license_t *license, uint8_t **license_info, uint64_t *license_info_size) |
Retrieves information in YML format about your limits in face_sdk. See License YML format. More... | |
bool | face_sdk__load_license_from_file (face_sdk__license_t **license) |
Loads license from file in known paths. (see Known paths) More... | |
bool | face_sdk__load_license_from_file_1 (uint8_t *file_name, uint64_t file_name_size, face_sdk__license_t **license) |
Loads license from specified file. More... | |
bool | face_sdk__load_license_from_data (const uint8_t *data, uint64_t data_size, face_sdk__license_t **license) |
Loads license from memory. More... | |
bool | face_sdk__generate_license_request (const uint32_t *gpu_ids, uint64_t gpu_ids_size, uint8_t **request_data, uint64_t *request_data_size) |
Api function generating license request. Usually you can use face_sdk_utils for this purpose. More... | |
void | face_sdk__license_free (face_sdk__license_t *license) |
Destroys face_sdk__license object. More... | |
typedef struct face_sdk__license face_sdk__license_t |
The license object. A license object provides information about your limits in face_sdk. See Licensing.
Use face_sdk__load_licence_from_file() and face_sdk__load_licence_from_data() functions for instantiate a license object.
bool face_sdk__generate_license_request | ( | const uint32_t * | gpu_ids, |
uint64_t | gpu_ids_size, | ||
uint8_t ** | request_data, | ||
uint64_t * | request_data_size | ||
) |
Api function generating license request. Usually you can use face_sdk_utils for this purpose.
[in] | gpu_ids | List of gpu ids |
[in] | gpu_ids_size | Number of items in gpu_ids |
[out] | request_data | Binary request data |
[out] | request_data_size | Request data size in bytes |
bool face_sdk__license__get_addr | ( | const face_sdk__license_t * | license, |
uint64_t * | addr | ||
) |
Retrieves face_sdk__license_t object address * *.
[in] | license | face_sdk__license_t object * |
[out] | addr | Object address * * |
bool face_sdk__license__get_license_info | ( | const face_sdk__license_t * | license, |
uint8_t ** | license_info, | ||
uint64_t * | license_info_size | ||
) |
Retrieves information in YML format about your limits in face_sdk. See License YML format.
[in] | license | License object |
[out] | license_info | String containing license information. See text_encoding |
[out] | license_info | Size in bytes of licence_info string |
void face_sdk__license_free | ( | face_sdk__license_t * | license | ) |
Destroys face_sdk__license object.
[in] | license | License object |
bool face_sdk__load_license_from_data | ( | const uint8_t * | data, |
uint64_t | data_size, | ||
face_sdk__license_t ** | license | ||
) |
Loads license from memory.
[in] | data | Binary license data |
[in] | data_size | Data size |
[out] | license | License object |
bool face_sdk__load_license_from_file | ( | face_sdk__license_t ** | license | ) |
Loads license from file in known paths. (see Known paths)
[out] | license | License object |
bool face_sdk__load_license_from_file_1 | ( | uint8_t * | file_name, |
uint64_t | file_name_size, | ||
face_sdk__license_t ** | license | ||
) |
Loads license from specified file.
[in] | file_name | String containing path to a file. See text_encoding |
[in] | file_name_size | Size in bytes of file_name string |
[out] | license | License object |