MLKitPoseDetectionCommon Framework Reference

MLKPose


@interface MLKPose : NSObject

Describes a pose detection result.

  • An array of all the landmarks in the detected pose.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSArray<MLKPoseLandmark *> *_Nonnull landmarks;
  • Unavailable.

    Declaration

    Objective-C

    - (nonnull instancetype)init;
  • Returns the landmark which corresponds to a given type.

    Declaration

    Objective-C

    - (nonnull MLKPoseLandmark *)landmarkOfType:(nonnull MLKPoseLandmarkType)type;

    Parameters

    type

    The type of the landmark which should be returned.

    Return Value

    The landmark which corresponds to type.