Attention: This MediaPipe Solutions Preview is an early release. Learn more.

GestureRecognizerResult

public abstract class GestureRecognizerResult

Represents the gesture recognition results generated by GestureRecognizer.

Public Constructors

Public Methods

abstract List<List<Category>>
gestures()
Recognized hand gestures of detected hands.
abstract List<List<Category>>
handednesses()
Handedness of detected hands.
abstract List<List<NormalizedLandmark>>
landmarks()
Hand landmarks of detected hands.
abstract long
timestampMs()
Returns the timestamp that is associated with the task result object.
abstract List<List<Landmark>>
worldLandmarks()
Hand landmarks in world coordniates of detected hands.

Inherited Methods

Public Constructors

public GestureRecognizerResult ()

Public Methods

public abstract List<List<Category>> gestures ()

Recognized hand gestures of detected hands. Note that the index of the gesture is always -1, because the raw indices from multiple gesture classifiers cannot consolidate to a meaningful index.

public abstract List<List<Category>> handednesses ()

Handedness of detected hands.

public abstract List<List<NormalizedLandmark>> landmarks ()

Hand landmarks of detected hands.

public abstract long timestampMs ()

Returns the timestamp that is associated with the task result object.

public abstract List<List<Landmark>> worldLandmarks ()

Hand landmarks in world coordniates of detected hands.