MappedFaceContours class
Face contour data already mapped to widget coordinates for rendering.
Constructors
-
MappedFaceContours({required List<
Offset> allPoints, List<double> depthValues = const [], List<Offset> leftEye = const [], List<Offset> rightEye = const [], List<Offset> noseBridge = const [], List<Offset> noseBottom = const [], List<Offset> face = const [], List<Offset> leftEyebrowTop = const [], List<Offset> leftEyebrowBottom = const [], List<Offset> rightEyebrowTop = const [], List<Offset> rightEyebrowBottom = const [], List<Offset> upperLipTop = const [], List<Offset> upperLipBottom = const [], List<Offset> lowerLipTop = const [], List<Offset> lowerLipBottom = const [], List<Offset> foreheadExtension = const []}) -
const
Properties
-
allPoints
→ List<
Offset> -
final
-
depthValues
→ List<
double> -
Per-point estimated depth in
0.0, 1.0. 1.0 = near (nose), 0.0 = far (jawline). Computed geometrically from 2D landmark positions as radial distance from nose centroid, normalized by face diagonal.final -
face
→ List<
Offset> -
final
-
foreheadExtension
→ List<
Offset> -
Synthetic points extrapolated above the forehead contour for extended
coverage. Each point corresponds to a face contour point in the upper
portion of the face, pushed upward.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
leftEye
→ List<
Offset> -
final
-
leftEyebrowBottom
→ List<
Offset> -
final
-
leftEyebrowTop
→ List<
Offset> -
final
-
lowerLipBottom
→ List<
Offset> -
final
-
lowerLipTop
→ List<
Offset> -
final
-
noseBottom
→ List<
Offset> -
final
-
noseBridge
→ List<
Offset> -
final
-
rightEye
→ List<
Offset> -
final
-
rightEyebrowBottom
→ List<
Offset> -
final
-
rightEyebrowTop
→ List<
Offset> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
upperLipBottom
→ List<
Offset> -
final
-
upperLipTop
→ List<
Offset> -
final
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