3DiVi Face SDK  3.21.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Groups
com.vdt.face_recognition.sdk.TemplatesIndex Class Reference

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

Public Member Functions

void dispose ()
 Release internal object.
 
boolean isDisposed ()
 Check if an object is released. More...
 
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...
 

Detailed Description

Interface object for working with the template index.

Member Function Documentation

Template com.vdt.face_recognition.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 com.vdt.face_recognition.sdk.TemplatesIndex.getMethodName ( )
inline

Get a method name. Thread-safe.

Returns
The name of the method created this index.
boolean com.vdt.face_recognition.sdk.TemplatesIndex.isDisposed ( )
inline

Check if an object is released.

Returns
true if an object is released, false otherwise.
void com.vdt.face_recognition.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 vector passed to Recognizer.search at once to prepare the buffers for.
int com.vdt.face_recognition.sdk.TemplatesIndex.size ( )
inline

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

Returns
Number of templates in the index.