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;
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 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"]]