MPPPoseLandmarkerResult
@interface MPPPoseLandmarkerResult : MPPTaskResultRepresents the pose landmarks deection results generated by PoseLandmarker.
-
Pose landmarks of detected poses.
Declaration
Objective-C
@property (nonatomic, readonly) NSArray<NSArray<MPPNormalizedLandmark *> *> *_Nonnull landmarks; -
Pose landmarks in world coordinates of detected poses.
Declaration
Objective-C
@property (nonatomic, readonly) NSArray<NSArray<MPPLandmark *> *> *_Nonnull worldLandmarks; -
Pose segmentation masks.
Declaration
Objective-C
@property (nonatomic, readonly) NSArray<MPPMask *> *_Nonnull segmentationMasks; -
Initializes a new
PoseLandmarkerResultwith the given array of landmarks, world landmarks, segmentation masks of the detected poses and timestamp (in milliseconds).Declaration
Objective-C
- (nonnull instancetype) initWithLandmarks: (nonnull NSArray<NSArray<MPPNormalizedLandmark *> *> *)landmarks worldLandmarks: (nonnull NSArray<NSArray<MPPLandmark *> *> *)worldLandmarks segmentationMasks:(nullable NSArray<MPPMask *> *)segmentationMasks timestampInMilliseconds:(NSInteger)timestampInMilliseconds;Parameters
landmarksAn array of
NormalizedLandmarkobjects.worldLandmarksAn array of
Landmarkobjects.segmentationMasksAn array of
Maskobjects.timestampInMillisecondsThe timestamp (in milliseconds) for this result.
Return Value
An instance of
PoseLandmarkerResultinitialized with the given array of landmarks, world landmarks, segmentation masks of the detected poses and timestamp (in milliseconds). -
Undocumented
Declaration
Objective-C
- (instancetype)initWithTimestampInMilliseconds:(NSInteger)timestampInMilliseconds NS_UNAVAILABLE; -
Undocumented
Declaration
Objective-C
- (instancetype)init NS_UNAVAILABLE; -
Undocumented
Declaration
Objective-C
+ (instancetype)new NS_UNAVAILABLE;