Face class
Face detection and feature extraction result
Constructors
- Face({required double faceX, required double faceY, required double bboxW, required double bboxH, required double reyeX, required double reyeY, required double leyeX, required double leyeY, required double noseX, required double noseY, required double rmouthX, required double rmouthY, required double lmouthX, required double lmouthY, required double width, required double height, required double faceScore, required int faceTv, required int clsId, int landmarkCount = 0, double headEulerAngleX = 0.0, double headEulerAngleY = 0.0, double headEulerAngleZ = 0.0})
- Face.fromMap(Map map)
-
factory
Properties
- bboxH → double
-
final
- bboxW → double
-
final
- clsId → int
-
final
- faceScore → double
-
final
- faceTv → int
-
final
- faceX → double
-
final
- faceY → double
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- headEulerAngleX → double
-
Head rotation angles from ML Kit (in degrees).
Useful for quality assessment — extreme angles may indicate false positives.
final
- headEulerAngleY → double
-
final
- headEulerAngleZ → double
-
final
- height → double
-
final
- landmarkCount → int
-
Number of landmarks actually detected by ML Kit (0-5).
5 = leftEye, rightEye, noseBase, leftMouth, rightMouth all detected.
Low count (0-1) strongly indicates a false positive detection.
final
- leyeX → double
-
final
- leyeY → double
-
final
- lmouthX → double
-
final
- lmouthY → double
-
final
- noseX → double
-
final
- noseY → double
-
final
- reyeX → double
-
final
- reyeY → double
-
final
- rmouthX → double
-
final
- rmouthY → double
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- width → double
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited