FaceTemplate class
A stored face identity used for verification.
Contains a normalized feature vector extracted from face contours and metadata for identification.
Constructors
-
FaceTemplate({required String id, required String label, required List<
double> features, DateTime? createdAt}) -
FaceTemplate.fromJson(Map<
String, dynamic> json) -
Deserialize from a JSON map.
factory
Properties
- createdAt → DateTime
-
When this template was created.
final
-
features
→ List<
double> -
Normalized contour feature vector used for matching.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Unique identifier for this template.
final
- label → String
-
Human-readable label (e.g. a person's name).
final
- 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
-
toJson(
) → Map< String, dynamic> - Serialize to a JSON-compatible map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited