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

Object
clone()
boolean
equals(Object arg0)
void
finalize()
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

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.