BoundingPoly class

The bounding polygon around the face. The coordinates of the bounding box are in the original image's scale. The bounding box is computed to "frame" the face in accordance with human expectations. It is based on the landmarker results. Note that one or more x and/or y coordinates may not be generated in the BoundingPoly (the polygon will be unbounded) if only a partial face appears in the image to be annotated.

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

BoundingPoly({required List<NormalizedVertex> normalizedVertices, required List<Vertex> vertices})
BoundingPoly.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
isNormalized bool
no setter
normalizedVertices List<NormalizedVertex>
The bounding polygon normalized vertices.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
vertices List<Vertex>
The bounding polygon vertices.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited