FaceLibrary class
The FaceLibrary class serves as the entry point to the id3 Face SDK. It provides essential methods for initializing the SDK, managing face models, and accessing version information. This class must be utilized to leverage the facial recognition capabilities offered by the SDK.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getModelFileName(
FaceModel model) → String - Retrieves the model file name which is needed in the LoadModel function.
-
getVersion(
) → String -
Retrieves the library version as a
X.Y.Zformatted string. -
getVersionEx(
) → LibVersion - Retrieves the library version as a structure.
-
loadModel(
String? modelPath, FaceModel faceModel, ProcessingUnit processingUnit) → void - Loads a specified AI model into memory from the specified directory.
-
loadModelBuffer(
Uint8List? modelBuffer, FaceModel faceModel, ProcessingUnit processingUnit) → void - Loads a model into memory from the specified buffer.
-
unloadModel(
FaceModel faceModel, ProcessingUnit processingUnit) → void - Unloads a model from memory.