Geometry class

Information about where an object (DetectCustomLabels) or text (DetectText) is located on an image.

Constructors

Geometry({BoundingBox? boundingBox, List<Point>? polygon})
Geometry.fromJson(Map<String, dynamic> json)
factory

Properties

boundingBox BoundingBox?
An axis-aligned coarse representation of the detected item's location on the image.
final
hashCode int
The hash code for this object.
no setterinherited
polygon List<Point>?
Within the bounding box, a fine-grained polygon around the detected item.
final
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