MLKitPoseDetectionCommon フレームワーク リファレンス
MLKPoseLandmark
@interface MLKPoseLandmark : NSObject
ポーズ検出結果のランドマーク。
-
-
入力画像空間における 3D ポイントの位置。
z 値には画像空間に固定された原点はありません。代わりに、Z 原点は検出された人物の腰にあります。負の z 値は、ランドマークが z 原点の前に、検出された人物とカメラの間にあることを示します。一方、正の z 値は、ランドマークが z 原点の背後にあることを示します。
Z 値には固定の範囲はありません。ただし、Z 座標系は入力画像空間内にあるため、Z 値を使用して、ランドマーク間の相対距離(画像ピクセルで測定)を推測できます。
注: Z 値は x 値や y 値よりも精度が低くなります。また、顔のランドマークの Z 値は計算されないため、無視してください。
宣言
Objective-C
@property (nonatomic, readonly) MLKVision3DPoint *_Nonnull position;
-
ランドマークが実際に画像フレーム内にある可能性([0, 1] の範囲)。
宣言
Objective-C
@property (nonatomic, readonly) float inFrameLikelihood;
-
宣言
Objective-C
- (nonnull instancetype)init;
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-11-08 UTC。
[null,null,["最終更新日 2024-11-08 UTC。"],[[["`MLKPoseLandmark` represents a specific point on a detected body within an image."],["Each landmark includes its type (body location), 3D position in the image, and a likelihood of being within the frame."],["The 3D position's z-value indicates relative depth, with negative values closer to the camera and positive values further away, relative to the person's hip."],["While the z-values help understand relative depth, they are less accurate than the x and y coordinates and are not calculated for facial landmarks."]]],["MLKPoseLandmark represents a body landmark in pose detection. It provides the `type`, indicating the body location, and the `position`, a 3D point in image space with z-origin at the hip. The `inFrameLikelihood` property, ranging from 0 to 1, reflects the confidence of the landmark's presence in the image. Z-values indicate depth relative to the hip, with negative values in front and positive values behind. Facial landmarks do not have z-values. The init method is unavailable.\n"]]