Pose

public class Pose extends Object

Result of PoseDetection.

Public Method Summary

List<PoseLandmark>
getAllPoseLandmarks()
Returns all the detected PoseLandmarks.
PoseLandmark
getPoseLandmark(int poseLandmarkType)
Returns detected PoseLandmark for given PoseLandmark.LandmarkType.

Inherited Method Summary

Public Methods

public List<PoseLandmark> getAllPoseLandmarks ()

Returns all the detected PoseLandmarks.

This list is always non-null but could be empty if no landmark is detected.

The returned list is immutable.

public PoseLandmark getPoseLandmark (int poseLandmarkType)

Returns detected PoseLandmark for given PoseLandmark.LandmarkType.

Can be null if no landmark is detected. Note that it is either all the landmarks are detected or none of them are. Landmarks that are not actually visible in the input image could still be returned with coordinates but will likely have low in-frame-likelihood indicating they are outside the frame.