MLKitPoseDetectionCommon Framework Reference

MLKPoseLandmark


@interface MLKPoseLandmark : NSObject

A landmark in a pose detection result.

  • The landmark type (i.e. location on the body).

    Declaration

    Objective-C

    @property (nonatomic, readonly) MLKPoseLandmarkType _Nonnull type;
  • The position of the 2D point in the input image space. Because the point is 2D, its z value will be nil.

    Declaration

    Objective-C

    @property (nonatomic, readonly) MLKVisionPoint *_Nonnull position;
  • The likelihood, in range [0, 1], that the landmark is actually in the image frame.

    Declaration

    Objective-C

    @property (nonatomic, readonly) float inFrameLikelihood;
  • Unavailable.

    Declaration

    Objective-C

    - (nonnull instancetype)init;