Справочник по общей платформе MLKitPoseDetection
Поза
Описывает результат обнаружения позы.
Массив всех ориентиров в обнаруженной позе.
Возвращает ориентир, соответствующий заданному типу.
Параметры
type | Тип ориентира, который следует вернуть. |
Возвращаемое значение
Ориентир, соответствующий type
.
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-01-04 UTC.
[null,null,["Последнее обновление: 2025-01-04 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"]]