FaceMeshImage class

Container that holds RGBA/BGRA pixels used as inference input.

Constructors

FaceMeshImage({required Uint8List pixels, required int width, required int height, int pixelFormat = FaceMeshPixelFormat.rgba, int? bytesPerRow})
Creates an RGBA/BGRA image wrapper from raw bytes.

Properties

bytesPerRow int
Bytes consumed per row (stride).
final
hashCode int
The hash code for this object.
no setterinherited
height int
Frame height in pixels.
final
pixelFormat int
Pixel format understood by the native layer.
final
pixels Uint8List
Raw pixel buffer backing this image.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width int
Frame width in pixels.
final

Methods

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.
inherited