FaceRecognizerInterface class abstract
Abstract interface for a face recognition engine.
Constructors
- FaceRecognizerInterface()
-
Default factory to create the platform-specific recognizer.
factory
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
-
dispose(
) → Future< void> - Releases resources.
-
extractEmbedding(
CameraImage? image, FaceData face) → Future< List< double> > - Extracts an embedding (vector) from a cropped face image.
-
initialize(
) → Future< void> - Initializes the recognizer (e.g., loading the TFLite model).
-
matchFace(
List< double> embedding, List<FaceProfile> profiles, {double threshold = 0.6}) → Future<FaceProfile?> - Matches a FaceData against a list of known profiles.
-
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