Page Summary
-
This documentation details globally available constants used for pose detection in ML Kit.
-
Constants define pose detector modes like
singleImageandstreamfor optimizing processing. -
Numerous constants identify specific body landmarks, such as
nose,leftEye,rightShoulder, andleftAnkle, enabling precise pose analysis. -
Each constant has a corresponding Swift declaration for easy integration into your applications.
-
These constants provide a standardized way to access and manipulate pose data within the ML Kit framework.
Constants
The following constants are available globally.
-
Optimized for single static images.
Declaration
Swift
static let singleImage: PoseDetectorMode -
Optimized to expedite the processing of a streaming video by leveraging the results from previous images.
Declaration
Swift
static let stream: PoseDetectorMode -
The landmark which corresponds to the nose.
Declaration
Swift
static let nose: PoseLandmarkType -
The landmark which corresponds to the left eye inner edge.
Declaration
Swift
static let leftEyeInner: PoseLandmarkType -
The landmark which corresponds to the left eye.
Declaration
Swift
static let leftEye: PoseLandmarkType -
The landmark which corresponds to the left eye outer edge.
Declaration
Swift
static let leftEyeOuter: PoseLandmarkType -
The landmark which corresponds to the right eye inner edge.
Declaration
Swift
static let rightEyeInner: PoseLandmarkType -
The landmark which corresponds to the right eye.
Declaration
Swift
static let rightEye: PoseLandmarkType -
The landmark which corresponds to the right eye outer edge.
Declaration
Swift
static let rightEyeOuter: PoseLandmarkType -
The landmark which corresponds to the left ear.
Declaration
Swift
static let leftEar: PoseLandmarkType -
The landmark which corresponds to the right ear.
Declaration
Swift
static let rightEar: PoseLandmarkType -
The landmark which corresponds to the left mouth edge.
Declaration
Swift
static let mouthLeft: PoseLandmarkType -
The landmark which corresponds to the right mouth edge.
Declaration
Swift
static let mouthRight: PoseLandmarkType -
The landmark which corresponds to the left shoulder.
Declaration
Swift
static let leftShoulder: PoseLandmarkType -
The landmark which corresponds to the right shoulder.
Declaration
Swift
static let rightShoulder: PoseLandmarkType -
The landmark which corresponds to the left elbow.
Declaration
Swift
static let leftElbow: PoseLandmarkType -
The landmark which corresponds to the right elbow.
Declaration
Swift
static let rightElbow: PoseLandmarkType -
The landmark which corresponds to the left wrist.
Declaration
Swift
static let leftWrist: PoseLandmarkType -
The landmark which corresponds to the right wrist.
Declaration
Swift
static let rightWrist: PoseLandmarkType -
The landmark which corresponds to the pinky finger on the left hand.
Declaration
Swift
static let leftPinkyFinger: PoseLandmarkType -
The landmark which corresponds to the pinky finger on the right hand.
Declaration
Swift
static let rightPinkyFinger: PoseLandmarkType -
The landmark which corresponds to the index finger on the left hand.
Declaration
Swift
static let leftIndexFinger: PoseLandmarkType -
The landmark which corresponds to the index finger on the right hand.
Declaration
Swift
static let rightIndexFinger: PoseLandmarkType -
The landmark which corresponds to the left thumb.
Declaration
Swift
static let leftThumb: PoseLandmarkType -
The landmark which corresponds to the right thumb.
Declaration
Swift
static let rightThumb: PoseLandmarkType -
The landmark which corresponds to the left hip.
Declaration
Swift
static let leftHip: PoseLandmarkType -
The landmark which corresponds to the right hip.
Declaration
Swift
static let rightHip: PoseLandmarkType -
The landmark which corresponds to the left knee.
Declaration
Swift
static let leftKnee: PoseLandmarkType -
The landmark which corresponds to the right knee.
Declaration
Swift
static let rightKnee: PoseLandmarkType -
The landmark which corresponds to the left ankle.
Declaration
Swift
static let leftAnkle: PoseLandmarkType -
The landmark which corresponds to the right ankle.
Declaration
Swift
static let rightAnkle: PoseLandmarkType -
The landmark which corresponds to the left heel.
Declaration
Swift
static let leftHeel: PoseLandmarkType -
The landmark which corresponds to the right heel.
Declaration
Swift
static let rightHeel: PoseLandmarkType -
The landmark which corresponds to the toe on the left foot.
Declaration
Swift
static let leftToe: PoseLandmarkType -
The landmark which corresponds to the toe on the right foot.
Declaration
Swift
static let rightToe: PoseLandmarkType