Referensi Framework MLKitPoseDetectionCommon
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Sikap
Menjelaskan hasil deteksi pose.
-
Array semua penanda dalam pose yang terdeteksi.
-
-
Menampilkan tempat terkenal yang sesuai dengan jenis yang diberikan.
Parameter
type
|
Jenis tempat terkenal yang harus ditampilkan.
|
Nilai yang Ditampilkan
Tempat terkenal yang sesuai dengan type
.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-25 UTC.
[null,null,["Terakhir diperbarui pada 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`."]]