SegmentationMask class

The result from a Segmenter operation.

Constructors

SegmentationMask({required int width, required int height, required List<double> confidences})
Constructor to create an instance of SegmentationMask.
SegmentationMask.fromJson(Map json)
Returns an instance of SegmentationMask from a given json.
factory

Properties

confidences List<double>
The confidence of the pixel in the mask being in the foreground.
final
hashCode int
The hash code for this object.
no setterinherited
height int
The height of the mask.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width int
The width of the mask.
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