HandLandmarkerResult

public abstract class HandLandmarkerResult implements TaskResult


Represents the hand landmarks deection results generated by HandLandmarker.

Summary

Public constructors

Public methods

abstract List<List<Category>>

Handedness of detected hands.

List<List<Category>>

This method is deprecated.

Use handedness instead.

abstract List<List<NormalizedLandmark>>

Hand landmarks of detected hands.

abstract long

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

abstract List<List<Landmark>>

Hand landmarks in world coordinates of detected hands.

Public constructors

HandLandmarkerResult

public HandLandmarkerResult()

Public methods

handedness

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

Handedness of detected hands.

Note: Left and Right handedness correspond to the subject's hands, not the viewer. Passing a horizontally mirrored image will invert these outputs.

handednesses

public List<List<Category>> handednesses()

Handedness of detected hands.

Note: Left and Right handedness correspond to the subject's hands, not the viewer. Passing a horizontally mirrored image will invert these outputs.

landmarks

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

Hand landmarks of detected hands.

timestampMs

public abstract long timestampMs()

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

worldLandmarks

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

Hand landmarks in world coordinates of detected hands.