FaceMesh class
Represent face mesh detected by FaceMeshDetector.
Constructors
-
FaceMesh({required Rect boundingBox, required List<
FaceMeshPoint> points, required List<FaceMeshTriangle> triangles, required Map<FaceMeshContourType, List< contours})FaceMeshPoint> ?> - Creates a face mesh.
- FaceMesh.fromJson(Map json)
-
Returns an instance of FaceMesh from a given
json
.factory
Properties
- boundingBox → Rect
-
Returns the NonNull axis-aligned bounding rectangle of the detected face mesh.
final
-
contours
→ Map<
FaceMeshContourType, List< FaceMeshPoint> ?> -
Returns a map with lists of FaceMeshPoint representing a specific contour.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
points
→ List<
FaceMeshPoint> -
Returns a list of
FaceMeshPoint
representing the whole detected face.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
triangles
→ List<
FaceMeshTriangle> -
Returns a list of
FaceMeshTriangle
representing logical triangle surfaces of detected face.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