3DiVi Face SDK  3.21.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Groups
VDT.FaceRecognition.SDK.TemplatesIndex Class Reference

Interface object for working with the template index. More...

Public Member Functions

String getMethodName ()
 Get a method name. Thread-safe. More...
 
int size ()
 Get a number of templates in the index. Thread-safe. More...
 
Template at (int i)
 Get an i-th template. Thread-safe. More...
 
void reserveSearchMemory (int queries_count)
 Reserve memory for temporary buffers used when searching. These temporary buffers require 8 * size() * queries_count bytes. More...
 
- Public Member Functions inherited from VDT.FaceRecognition.SDK.IDisposableObject
virtual void Dispose ()
 Release internal object.
 

Additional Inherited Members

- Properties inherited from VDT.FaceRecognition.SDK.IDisposableObject
bool isDisposed [get]
 True if internal object already disposed.
 

Detailed Description

Interface object for working with the template index.

Member Function Documentation

Template VDT.FaceRecognition.SDK.TemplatesIndex.at ( int  i)
inline

Get an i-th template. Thread-safe.

Parameters
[in]iInteger i: 0 <= i < size.
Returns
The i-th template.
String VDT.FaceRecognition.SDK.TemplatesIndex.getMethodName ( )
inline

Get a method name. Thread-safe.

Returns
The name of the method created this index.
void VDT.FaceRecognition.SDK.TemplatesIndex.reserveSearchMemory ( int  queries_count)
inline

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.
int VDT.FaceRecognition.SDK.TemplatesIndex.size ( )
inline

Get a number of templates in the index. Thread-safe.

Returns
Number of templates in the index.