Dokumentacja platformy MLKitPoseDetectionCommon
Pozycja
Opisuje wynik wykrywania pozycji.
-
Tablica wszystkich punktów orientacyjnych w wykrytej pozycji.
-
-
Zwraca punkt orientacyjny, który odpowiada danemu typowi.
Parametry
type
|
Typ punktu orientacyjnego, który powinien zostać zwrócony.
|
Zwracana wartość
Punkt orientacyjny powiązany z firmą type
.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-10-15 UTC.
[null,null,["Ostatnia aktualizacja: 2024-10-15 UTC."],[[["`Pose` class in iOS describes the results of pose detection, including the location of body joints."],["It provides an array of landmarks representing different body parts, accessible via the `landmarks` property."],["You can retrieve a specific landmark using its type with the `landmark(ofType:)` method."],["The `Pose` object is created internally by the Pose Detection API and cannot be directly instantiated."]]],["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"]]