AI-generated Key Takeaways
-
Pose
objects are the result of pose detection using ML Kit's PoseDetection API. -
You can access all detected pose landmarks through the
getAllPoseLandmarks()
method. -
Individual landmarks can be retrieved using the
getPoseLandmark()
method by specifying the desired landmark type. -
Landmarks may be detected even if they're not visible in the image, potentially indicating an out-of-frame position.
Result of PoseDetection
.
Public Method Summary
List<PoseLandmark> |
getAllPoseLandmarks()
Returns all the detected
PoseLandmark s.
|
PoseLandmark |
getPoseLandmark(int
poseLandmarkType)
Returns detected
PoseLandmark
for given
PoseLandmark.LandmarkType .
|
Inherited Method Summary
Public Methods
public List<PoseLandmark> getAllPoseLandmarks ()
Returns all the detected PoseLandmark
s.
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.