3DiVi Face SDK  3.21.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Groups
TemplatesIndex

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.__init__
 
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...
 

Detailed Description

Function Documentation

def face_sdk.modules.templates_index.TemplatesIndex.at (   self,
  i 
)

Get an i-th template.

Thread-safe.

Parameters
[in]iInteger i: 0 <= i < size.
Returns
The i-th template.
def face_sdk.modules.templates_index.TemplatesIndex.get_method_name (   self,
  str 
)

Get a method name.

Thread-safe.

Returns
The name of the method created this index.
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.

Parameters
[in]queries_countInteger 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.

Returns
Number of templates in the index.