MLKitPoseDetectionCommon 架構參考資料
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
MLKPoseLandmark
@interface MLKPoseLandmark : NSObject
姿勢偵測結果中的地標。
-
-
3D 點在輸入圖片空間中的位置。
在圖像空間中,z 值沒有固定的原點。而 z-origin 位於
偵測到某人的臀部如果 z 值為負數,表示地標位於
z-origin。而正的 Z 值則代表
地標位於 z-origin 後面。
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;
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-07-25 (世界標準時間)。"],[],["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"]]