ProcessedFrame class

Represents a processed frame with segmentation data

Constructors

ProcessedFrame.new({Image? originalImage, required Uint8List originalBytes, required Uint8List segmentationMask, required int width, required int height, int? maskWidth, int? maskHeight, DateTime? timestamp})

Properties

hashCode → int
The hash code for this object.
no setterinherited
height → int
Frame height
final
isValid → bool
Check if this frame has valid data
no setter
maskHeight → int
Mask height (may differ from frame height)
final
maskWidth → int
Mask width (may differ from frame width if enableRawSizeMask is false)
final
originalBytes → Uint8List
Original frame as raw bytes (RGBA format)
final
originalImage → Image?
Original camera frame as ui.Image
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
segmentationMask → Uint8List
Segmentation mask from ML Kit (confidence values 0-255)
final
timestamp → DateTime
Timestamp when frame was captured
final
width → int
Frame width
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