Send feedback
MediaPipeTasksVision Framework Reference
MPPPoseLandmarkerResult
Represents 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 ;
Declaration
Objective-C
@property ( nonatomic , readonly ) NSArray < MPPMask *> * _Nonnull segmentationMasks ;
Initializes a new PoseLandmarkerResult
with 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
landmarks
An array of NormalizedLandmark
objects.
worldLandmarks
An array of Landmark
objects.
segmentationMasks
An array of Mask
objects.
timestampInMilliseconds
The timestamp (in milliseconds) for this result.
Return Value
An instance of PoseLandmarkerResult
initialized with the given array of landmarks,
world landmarks, segmentation masks of the detected poses and timestamp (in milliseconds).
Declaration
Objective-C
- ( instancetype ) initWithTimestampInMilliseconds :( NSInteger ) timestampInMilliseconds NS_UNAVAILABLE ;
Declaration
Objective-C
- ( instancetype ) init NS_UNAVAILABLE ;
Declaration
Objective-C
+ ( instancetype ) new NS_UNAVAILABLE ;
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-05-08 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-05-08 UTC."],[],[],null,["# MediaPipeTasksVision Framework Reference\n\nMPPPoseLandmarkerResult\n=======================\n\n\n @interface MPPPoseLandmarkerResult : ../Classes/MPPTaskResult.html\n\nRepresents the pose landmarks deection results generated by `PoseLandmarker`.\n- `\n ``\n ``\n `\n\n ### [landmarks](#/c:objc(cs)MPPPoseLandmarkerResult(py)landmarks)\n\n `\n ` \n Pose landmarks of detected poses. \n\n #### Declaration\n\n Objective-C \n\n @property (nonatomic, readonly) NSArray\u003cNSArray\u003c../Classes/MPPNormalizedLandmark.html *\u003e *\u003e *_Nonnull landmarks;\n\n- `\n ``\n ``\n `\n\n ### [worldLandmarks](#/c:objc(cs)MPPPoseLandmarkerResult(py)worldLandmarks)\n\n `\n ` \n Pose landmarks in world coordinates of detected poses. \n\n #### Declaration\n\n Objective-C \n\n @property (nonatomic, readonly) NSArray\u003cNSArray\u003c../Classes/MPPLandmark.html *\u003e *\u003e *_Nonnull worldLandmarks;\n\n- `\n ``\n ``\n `\n\n ### [segmentationMasks](#/c:objc(cs)MPPPoseLandmarkerResult(py)segmentationMasks)\n\n `\n ` \n Pose segmentation masks. \n\n #### Declaration\n\n Objective-C \n\n @property (nonatomic, readonly) NSArray\u003c../Classes/MPPMask.html *\u003e *_Nonnull segmentationMasks;\n\n- `\n ``\n ``\n `\n\n ### [-initWithLandmarks:worldLandmarks:segmentationMasks:timestampInMilliseconds:](#/c:objc(cs)MPPPoseLandmarkerResult(im)initWithLandmarks:worldLandmarks:segmentationMasks:timestampInMilliseconds:)\n\n `\n ` \n Initializes a new `PoseLandmarkerResult` with the given array of landmarks, world landmarks,\n segmentation masks of the detected poses and timestamp (in milliseconds). \n\n #### Declaration\n\n Objective-C \n\n - (nonnull instancetype)\n initWithLandmarks:\n (nonnull NSArray\u003cNSArray\u003c../Classes/MPPNormalizedLandmark.html *\u003e *\u003e *)landmarks\n worldLandmarks:\n (nonnull NSArray\u003cNSArray\u003c../Classes/MPPLandmark.html *\u003e *\u003e *)worldLandmarks\n segmentationMasks:(nullable NSArray\u003c../Classes/MPPMask.html *\u003e *)segmentationMasks\n timestampInMilliseconds:(NSInteger)timestampInMilliseconds;\n\n #### Parameters\n\n |---------------------------------|--------------------------------------------------|\n | ` `*landmarks*` ` | An array of `NormalizedLandmark` objects. |\n | ` `*worldLandmarks*` ` | An array of `Landmark` objects. |\n | ` `*segmentationMasks*` ` | An array of `Mask` objects. |\n | ` `*timestampInMilliseconds*` ` | The timestamp (in milliseconds) for this result. |\n\n #### Return Value\n\n An instance of `PoseLandmarkerResult` initialized with the given array of landmarks,\n world landmarks, segmentation masks of the detected poses and timestamp (in milliseconds).\n- `\n ``\n ``\n `\n\n ### [-initWithTimestampInMilliseconds:](#/c:objc(cs)MPPPoseLandmarkerResult(im)initWithTimestampInMilliseconds:)\n\n `\n ` \n Undocumented \n\n #### Declaration\n\n Objective-C \n\n - (instancetype)initWithTimestampInMilliseconds:(NSInteger)timestampInMilliseconds NS_UNAVAILABLE;\n\n- `\n ``\n ``\n `\n\n ### [-init](#/c:objc(cs)MPPPoseLandmarkerResult(im)init)\n\n `\n ` \n Undocumented \n\n #### Declaration\n\n Objective-C \n\n - (instancetype)init NS_UNAVAILABLE;\n\n- `\n ``\n ``\n `\n\n ### [+new](#/c:objc(cs)MPPPoseLandmarkerResult(cm)new)\n\n `\n ` \n Undocumented \n\n #### Declaration\n\n Objective-C \n\n + (instancetype)new NS_UNAVAILABLE;"]]