FaceFeatureExtractor class
Extracts a normalized feature vector from ML Kit face contour data.
Contour points are normalized to the face bounding box (0.0–1.0 range) so features are scale- and position-invariant.
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
-
averageFeatures(
List< List< vectors) → List<double> >double> - Average multiple feature vectors element-wise.
-
cosineSimilarity(
List< double> a, List<double> b) → double - Compute cosine similarity between two feature vectors.
-
extractFeatures(
Face face) → List< double> ? -
Extract a normalized feature vector from a
Face.