BoundingBoxUtils class
Helper class for converting values that represents bounding boxes into rectangles.
The class provides a static function to create bounding boxes as Rect from different types of configurations.
Generally, a bounding box could be represented by 4 double values, but the values could be interpreted in many ways. Three BoundingBoxType of configurations are supported, and the order of elements in each type is configurable as well.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
Static Methods
-
convert(
{required TensorBuffer tensor, List< int> valueIndex = const <int>[0, 1, 2, 3], required int boundingBoxAxis, required BoundingBoxType boundingBoxType, required CoordinateType coordinateType, required int height, required int width}) → List<Rect> -
Creates a list of bounding boxes from a TensorBuffer
tensor
which represents bounding boxes.