CameraFrame class
A raw camera frame emitted by the frame-processing stream.
pixels is a zero-copy view into the native camera buffer (BGRA / RGBA).
Process the frame synchronously inside the stream listener;
do NOT hold a reference past that point.
- Implementers
- Available extensions
- Annotations
-
- @HybridStruct.new(zeroCopy: ['pixels'])
Constructors
Properties
- bytesPerRow → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → int
-
final
- isMirrored → int
-
final
- orientation → int
-
final
- pixelFormat → int
-
final
- pixels → Uint8List
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → int
-
final
- textureId → int
-
final
- timestamp → int
-
final
- width → int
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toNative(
Arena arena) → Pointer< CameraFrameFfi> -
Available on CameraFrame, provided by the CameraFrameExt extension
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited