AI-generated Key Takeaways
-
This document provides globally available type definitions, including pose detector modes, pose detection callback, and pose landmark type.
-
MLKPoseDetectionCallbackis a block that provides the results of pose detection, including an array of detected poses and any potential errors. -
MLKPoseLandmarkTypedefines the type of a pose landmark. -
MLKPoseDetectorModeis an enumeration defining the different modes available for the pose detector.
Type Definitions
The following type definitions are available globally.
-
@enum PoseDetectorMode Pose detector modes.
Declaration
Objective-C
typedef NSInteger MLKPoseDetectorMode -
A block containing the pose detection results.
Declaration
Objective-C
typedef void (^MLKPoseDetectionCallback)(NSArray<MLKPose *> *_Nullable, NSError *_Nullable)Parameters
posesThe array of poses detected in the given image or
nilif there was an error. If no poses are detected, then an empty array will be returned.errorThe error or
nil. -
Defines a pose landmark type.
Declaration
Objective-C
typedef NSString *MLKPoseLandmarkType