חומר עזר בנושא MLKitPoseDetectionCommon Framework
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
תנוחה
תיאור תוצאה של זיהוי תנוחה.
-
מערך של כל ציוני הדרך בתנוחה שזוהתה.
-
-
מחזירה את מאפיין התווית שתואם לסוג נתון.
פרמטרים
type
|
סוג ציון הדרך שצריך להחזיר.
|
הערך המוחזר
ציון הדרך שתואם ל-type
.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-25 (שעון UTC)."],[[["\u003cp\u003e\u003ccode\u003ePose\u003c/code\u003e class in iOS describes the results of pose detection, including the location of body joints.\u003c/p\u003e\n"],["\u003cp\u003eIt provides an array of landmarks representing different body parts, accessible via the \u003ccode\u003elandmarks\u003c/code\u003e property.\u003c/p\u003e\n"],["\u003cp\u003eYou can retrieve a specific landmark using its type with the \u003ccode\u003elandmark(ofType:)\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePose\u003c/code\u003e object is created internally by the Pose Detection API and cannot be directly instantiated.\u003c/p\u003e\n"]]],["The `Pose` class represents a pose detection result. It provides an array of `landmarks`, which are the individual points detected in the pose. You can access all the landmarks via the `landmarks` property. Additionally, the class includes a method, `landmark(ofType:)`, that allows retrieval of a specific landmark based on its type. Initialization using `-init` is unavailable. The `Pose` class does not allow manual instantiation.\n"],null,["# MLKitPoseDetectionCommon Framework Reference\n\nPose\n====\n\n class Pose : NSObject\n\nDescribes a pose detection result.\n- `\n ``\n ``\n `\n\n ### [landmarks](#/c:objc(cs)MLKPose(py)landmarks)\n\n `\n ` \n An array of all the landmarks in the detected pose. \n\n #### Declaration\n\n Swift \n\n var landmarks: [../Classes/PoseLandmark.html] { get }\n\n- `\n ``\n ``\n `\n\n ### [-init](#/c:objc(cs)MLKPose(im)init)\n\n `\n ` \n Unavailable.\n- `\n ``\n ``\n `\n\n ### [landmark(ofType:)](#/c:objc(cs)MLKPose(im)landmarkOfType:)\n\n `\n ` \n Returns the landmark which corresponds to a given type. \n\n #### Declaration\n\n Swift \n\n func landmark(ofType type: ../Type-Definitions.html#/c:MLKPoseLandmark.h@T@MLKPoseLandmarkType) -\u003e ../Classes/PoseLandmark.html\n\n #### Parameters\n\n |--------------|----------------------------------------------------|\n | ` `*type*` ` | The type of the landmark which should be returned. |\n\n #### Return Value\n\n The landmark which corresponds to `type`."]]