TemplateIndex class Null safety

Interface object for saving the face template.

Constructors

TemplateIndex(DynamicLibrary dll_handle, Pointer<Void> impl)

Properties

hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

at(int t) Template
Get an t-th template.
t - Integer t: 0 <= t < size.
return - The t-th template.
dispose() → void
Removing an object from memory. Must be called manually.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
reserveSearchMemory(int queries_count) → void
Reserve memory for temporary buffers used while searching.
These temporary buffers require 8 * size() * queries_count bytes.
queries_count - Integer queries_count >= 0 - max size of the queries_templates vector passed to Recognizer::search at once to prepare the buffers for.
size() int
Get a number of templates in the index.
return - Number of templates in the index.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited