MediaPipeTasksVision Framework Reference

MPPHandLandmarkerResult


@interface MPPHandLandmarkerResult : MPPTaskResult

Represents the hand landmarker results generated by HandLandmarker.

  • Hand landmarks of detected hands.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSArray<NSArray<MPPNormalizedLandmark *> *> *_Nonnull landmarks;
  • Hand landmarks in world coordinates of detected hands.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSArray<NSArray<MPPLandmark *> *> *_Nonnull worldLandmarks;
  • Handedness of detected hands.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSArray<NSArray<MPPCategory *> *> *_Nonnull handedness;
  • Initializes a new HandLandmarkerResult with the given landmarks, world landmarks, handedness and timestamp (in milliseconds).

    Declaration

    Objective-C

    - (nonnull instancetype)
              initWithLandmarks:
                  (nonnull NSArray<NSArray<MPPNormalizedLandmark *> *> *)landmarks
                 worldLandmarks:
                     (nonnull NSArray<NSArray<MPPLandmark *> *> *)worldLandmarks
                     handedness:
                         (nonnull NSArray<NSArray<MPPCategory *> *> *)handedness
        timestampInMilliseconds:(NSInteger)timestampInMilliseconds;

    Parameters

    landmarks

    The hand landmarks of detected hands.

    worldLandmarks

    The hand landmarks in