مرجع چارچوب MLKitPoseDetectionCommon
MLKPoseLandmark
@interface MLKPoseLandmark : NSObject
یک نقطه عطف در نتیجه تشخیص پوس.
نوع نقطه عطف (یعنی محل روی بدنه).
موقعیت نقطه سه بعدی در فضای تصویر ورودی.
مقدار z منشا ثابتی در فضای تصویر ندارد. در عوض، z-origin روی لگن فرد شناسایی شده قرار دارد. یک مقدار z منفی نشان می دهد که نقطه عطف در مقابل مبدا z، بین شخص شناسایی شده و دوربین قرار دارد. در حالی که یک z-value مثبت نشان می دهد که نقطه عطف در پشت مبدا z قرار دارد.
مقادیر Z محدوده ثابتی ندارند. با این حال، از آنجایی که سیستم مختصات z در فضای تصویر ورودی قرار دارد، میتوان از مقادیر z برای استنباط فاصله نسبی بین نشانهها استفاده کرد که در پیکسلهای تصویر اندازهگیری میشود.
توجه: مقادیر Z نسبت به x و y دقت کمتری دارند. علاوه بر این، مقادیر z برای نشانه های چهره محاسبه نمی شود، بنابراین لطفاً آنها را نادیده بگیرید.
اعلامیه
هدف-C
@property (nonatomic, readonly) MLKVision3DPoint *_Nonnull position;
احتمال اینکه نقطه عطف واقعاً در قاب تصویر باشد، در محدوده [0، 1] وجود دارد.
اعلامیه
هدف-C
@property (nonatomic, readonly) float inFrameLikelihood;
اعلامیه
هدف-C
- (nonnull instancetype)init;
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-01-04 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-01-04 بهوقت ساعت هماهنگ جهانی."],[[["`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"]]