HandLandmarkFrame class
A single frame of 21 hand landmarks produced by an on-device ML source (MediaPipe Hand Landmarker, ML Kit, or any compatible detector).
The engine is source-agnostic: the host app owns the camera and the ML
model (e.g. google_mlkit_vision, a MediaPipe Tasks platform channel,
or WebRTC in-browser tracking) and feeds normalized frames here.
Constructors
-
HandLandmarkFrame({required List<
Vector3> landmarks, required ControllerHand hand, double confidence = 1.0, DateTime? timestamp})
Properties
- confidence → double
-
Detection confidence in 0..1.
final
- hand → ControllerHand
-
Which hand this frame belongs to.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
landmarks
→ List<
Vector3> -
21 landmarks in MediaPipe order.
x/yare normalized image coordinates (0..1),zis relative depth with the wrist as origin.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp → DateTime
-
Capture time of the frame.
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