Skip to content

Instantly share code, notes, and snippets.

@jamesonthecrow
Created February 14, 2019 21:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamesonthecrow/2429c02ec9aa751ba95aa505cd7dcfe9 to your computer and use it in GitHub Desktop.
Save jamesonthecrow/2429c02ec9aa751ba95aa505cd7dcfe9 to your computer and use it in GitHub Desktop.
// Get the first pose
Pose pose = poseResult.getPoses().get(0);
// Get the body keypoints
Keypoints[] keypoints = pose.getKeypoints();
// Get the name of the keypoint
String partName = keypoints[0].getPartName();
PointF keypointPoisition = keypoints[0].getPosition()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment