MLKitPoseDetection-Referenz zum Common Framework
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Position
Beschreibt ein Ergebnis der Posenerkennung.
-
Ein Array aller Sehenswürdigkeiten in der erkannten Pose.
-
-
Gibt die Markierung zurück, die einem bestimmten Typ entspricht.
Parameter
type
|
Der Typ der Sehenswürdigkeit, die zurückgegeben werden soll.
|
Rückgabewert
Die Sehenswürdigkeit, die type
entspricht
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-25 (UTC).
[null,null,["Zuletzt aktualisiert: 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`."]]