MLKitPoseDetectionCommon Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
Type Definitions
The following type definitions are available globally.
-
@enum PoseDetectorMode
Pose detector modes.
Declaration
Swift
struct PoseDetectorMode : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
-
A block containing the pose detection results.
Declaration
Swift
typealias PoseDetectionCallback = ([MLKPose]?, Error?) -> Void
Parameters
poses
|
The array of poses detected in the given image or nil if there was an error. If no
poses are detected, then an empty array will be returned.
|
error
|
|
-
Defines a pose landmark type.
Declaration
Swift
struct PoseLandmarkType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[[["This document provides globally available type definitions for Pose Detection."],["Included are definitions for PoseDetectorMode, PoseDetectionCallback, and PoseLandmarkType."],["PoseDetectorMode defines the modes for the pose detector."],["PoseDetectionCallback is a block that provides the results of pose detection, including an array of poses or an error."],["PoseLandmarkType defines the type of a pose landmark."]]],[]]