MLKitPoseDetectionCommon 框架参考
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
MLKPoseLandmark
@interface MLKPoseLandmark : NSObject
姿势检测结果中的特征点。
-
-
3D 点在输入图像空间中的位置。
Z 值在图片空间中没有固定的原点。而 Z 轴原点位于
臀部。Z 值为负表示地标位于
z-origin,在检测到的人物和相机之间。而 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 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):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"]],["最后更新时间 (UTC):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"]]