|
3DiVi Face SDK
3.28.0
|
Classes | |
| class | face_sdk.modules.templates_index.TemplatesIndex |
| Interface object for working with the template index. More... | |
Functions | |
| def | face_sdk.modules.templates_index.TemplatesIndex.get_method_name |
| Get a method name. More... | |
| def | face_sdk.modules.templates_index.TemplatesIndex.size |
| Get a number of templates in the index. More... | |
| def | face_sdk.modules.templates_index.TemplatesIndex.at |
| Get an i-th template. More... | |
| def | face_sdk.modules.templates_index.TemplatesIndex.reserve_search_memory |
| Reserve memory for temporary buffers used when searching. More... | |
| def face_sdk.modules.templates_index.TemplatesIndex.at | ( | self, | |
| i | |||
| ) |
Get an i-th template.
Thread-safe.
| [in] | i | Integer i: 0 <= i < size. |
| def face_sdk.modules.templates_index.TemplatesIndex.get_method_name | ( | self, | |
| str | |||
| ) |
Get a method name.
Thread-safe.
| def face_sdk.modules.templates_index.TemplatesIndex.reserve_search_memory | ( | self, | |
| queries_count | |||
| ) |
Reserve memory for temporary buffers used when searching.
These temporary buffers require 8 * size() * queries_count bytes.
| [in] | queries_count | Integer queries_count >= 0 - max size of the queries_templates list passed to Recognizer.search at once to prepare the buffers for. |
| def face_sdk.modules.templates_index.TemplatesIndex.size | ( | self, | |
| int | |||
| ) |
Get a number of templates in the index.
Thread-safe.