AI-generated Key Takeaways
-
Poseclass in iOS describes the results of pose detection, including the location of body joints. -
It provides an array of landmarks representing different body parts, accessible via the
landmarksproperty. -
You can retrieve a specific landmark using its type with the
landmark(ofType:)method. -
The
Poseobject is created internally by the Pose Detection API and cannot be directly instantiated.
Pose
class Pose : NSObjectDescribes a pose detection result.
-
An array of all the landmarks in the detected pose.
Declaration
Swift
var landmarks: [PoseLandmark] { get } -
Unavailable.
-
Returns the landmark which corresponds to a given type.
Declaration
Swift
func landmark(ofType type: PoseLandmarkType) -> PoseLandmarkParameters
typeThe type of the landmark which should be returned.
Return Value
The landmark which corresponds to
type.