MaskImageMessage class

Raw bytes of a mask or heat map produced by Vision.

Constructors

MaskImageMessage({required int width, required int height, required int bytesPerRow, required int pixelFormatType, required Uint8List bytes})

Properties

bytes ↔ Uint8List
height rows of bytesPerRow bytes.
getter/setter pair
bytesPerRow ↔ int
Distance in bytes between the starts of consecutive rows.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
height ↔ int
getter/setter pair
pixelFormatType ↔ int
The Core Video four-character code, for example L00f (kCVPixelFormatType_OneComponent32Float).
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
width ↔ int
getter/setter pair

Methods

encode() → Object
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

decode(Object result) → MaskImageMessage