AI-generated Key Takeaways
-
This documentation details globally available constants used for pose detection in ML Kit.
-
Constants are provided for two pose detector modes:
MLKPoseDetectorModeSingleImagefor static images andMLKPoseDetectorModeStreamfor video streams. -
A comprehensive set of constants defines various body landmarks, such as nose, eyes, ears, mouth, shoulders, elbows, wrists, fingers, hips, knees, ankles, heels, and toes, enabling precise pose estimation.
-
Each constant is declared in Objective-C and is associated with a specific body landmark, providing developers with a standardized way to access and utilize pose data.
Constants
The following constants are available globally.
-
Optimized for single static images.
Declaration
Objective-C
extern const MLKPoseDetectorMode MLKPoseDetectorModeSingleImage -
Optimized to expedite the processing of a streaming video by leveraging the results from previous images.
Declaration
Objective-C
extern const MLKPoseDetectorMode MLKPoseDetectorModeStream -
The landmark which corresponds to the nose.
Declaration
Objective-C
extern const MLKPoseLandmarkType _Nonnull MLKPoseLandmarkTypeNose -
The landmark which corresponds to the left eye inner edge.
Declaration
Objective-C
extern const MLKPoseLandmarkType _Nonnull MLKPoseLandmarkTypeLeftEyeInner -
The landmark which corresponds to the left eye.
Declaration
Objective-C
extern const MLKPoseLandmarkType _Nonnull MLKPoseLandmarkTypeLeftEye -
The landmark which corresponds to the left eye outer edge.
Declaration
Objective-C
extern const MLKPoseLandmarkType _Nonnull MLKPoseLandmarkTypeLeftEyeOuter -
The landmark which corresponds to the right eye inner edge.
Declaration
Objective-C
extern const MLKPoseLandmarkType _Nonnull MLKPoseLandmarkTypeRightEyeInner -
The landmark which corresponds to the right eye.
Declaration
Objective-C
extern const MLKPoseLandmarkType _Nonnull MLKPoseLandmarkTypeRightEye -
The landmark which corresponds to the right eye outer edge.
Declaration
Objective-C
extern const MLKPoseLandmarkType _Nonnull MLKPoseLandmarkTypeRightEyeOuter -
The landmark which corresponds to the left ear.
Declaration
Objective-C
extern const MLKPoseLandmarkType _Nonnull MLKPoseLandmarkTypeLeftEar -
The landmark which corresponds to the right ear.
Declaration
Objective-C
extern const MLKPoseLandmarkType _Nonnull MLKPoseLandmarkTypeRightEar -
The landmark which corresponds to the left mouth edge.
Declaration
Objective-C
extern const MLKPoseLandmarkType _Nonnull MLKPoseLandmarkTypeMouthLeft -
The landmark which corresponds to the right mouth edge.
Declaration
Objective-C
extern const MLKPoseLandmarkType _Nonnull MLKPoseLandmarkTypeMouthRight -
The landmark which corresponds to the left shoulder.
Declaration
Objective-C
extern const MLKPoseLandmarkType _Nonnull MLKPoseLandmarkTypeLeftShoulder -
The landmark which corresponds to the right shoulder.
Declaration
Objective-C
extern const MLKPoseLandmarkType _Nonnull MLKPoseLandmarkTypeRightShoulder -
The landmark which corresponds to the left elbow.
Declaration
Objective-C
extern const MLKPoseLandmarkType _Nonnull MLKPoseLandmarkTypeLeftElbow -
The landmark which corresponds to the right elbow.
Declaration
Objective-C
extern const MLKPoseLandmarkType _Nonnull MLKPoseLandmarkTypeRightElbow -
The landmark which corresponds to the left wrist.
Declaration
Objective-C
extern const MLKPoseLandmarkType _Nonnull MLKPoseLandmarkTypeLeftWrist -
The landmark which corresponds to the right wrist.
Declaration
Objective-C
extern const MLKPoseLandmarkType _Nonnull MLKPoseLandmarkTypeRightWrist -
The landmark which corresponds to the pinky finger on the left hand.
Declaration
Objective-C
extern const MLKPoseLandmarkType _Nonnull MLKPoseLandmarkTypeLeftPinkyFinger -
The landmark which corresponds to the pinky finger on the right hand.
Declaration
Objective-C
extern const MLKPoseLandmarkType _Nonnull MLKPoseLandmarkTypeRightPinkyFinger -
The landmark which corresponds to the index finger on the left hand.
Declaration
Objective-C
extern const MLKPoseLandmarkType _Nonnull MLKPoseLandmarkTypeLeftIndexFinger -
The landmark which corresponds to the index finger on the right hand.
Declaration
Objective-C
extern const MLKPoseLandmarkType _Nonnull MLKPoseLandmarkTypeRightIndexFinger -
The landmark which corresponds to the left thumb.
Declaration
Objective-C
extern const MLKPoseLandmarkType _Nonnull MLKPoseLandmarkTypeLeftThumb -
The landmark which corresponds to the right thumb.
Declaration
Objective-C
extern const MLKPoseLandmarkType _Nonnull MLKPoseLandmarkTypeRightThumb -
The landmark which corresponds to the left hip.
Declaration
Objective-C
extern const MLKPoseLandmarkType _Nonnull MLKPoseLandmarkTypeLeftHip -
The landmark which corresponds to the right hip.
Declaration
Objective-C
extern const MLKPoseLandmarkType _Nonnull MLKPoseLandmarkTypeRightHip -
The landmark which corresponds to the left knee.
Declaration
Objective-C
extern const MLKPoseLandmarkType _Nonnull MLKPoseLandmarkTypeLeftKnee -
The landmark which corresponds to the right knee.
Declaration
Objective-C
extern const MLKPoseLandmarkType _Nonnull MLKPoseLandmarkTypeRightKnee -
The landmark which corresponds to the left ankle.
Declaration
Objective-C
extern const MLKPoseLandmarkType _Nonnull MLKPoseLandmarkTypeLeftAnkle -
The landmark which corresponds to the right ankle.
Declaration
Objective-C
extern const MLKPoseLandmarkType _Nonnull MLKPoseLandmarkTypeRightAnkle -
The landmark which corresponds to the left heel.
Declaration
Objective-C
extern const MLKPoseLandmarkType _Nonnull MLKPoseLandmarkTypeLeftHeel -
The landmark which corresponds to the right heel.
Declaration
Objective-C
extern const MLKPoseLandmarkType _Nonnull MLKPoseLandmarkTypeRightHeel -
The landmark which corresponds to the toe on the left foot.
Declaration
Objective-C
extern const MLKPoseLandmarkType _Nonnull MLKPoseLandmarkTypeLeftToe -
The landmark which corresponds to the toe on the right foot.
Declaration
Objective-C
extern const MLKPoseLandmarkType _Nonnull MLKPoseLandmarkTypeRightToe