PoseLandmarkerResult
class PoseLandmarkerResult : TaskResultRepresents the pose landmarks deection results generated by PoseLandmarker.
-
Pose landmarks of detected poses.
Declaration
Swift
var landmarks: [[NormalizedLandmark]] { get } -
Pose landmarks in world coordinates of detected poses.
Declaration
Swift
var worldLandmarks: [[Landmark]] { get } -
Pose segmentation masks.
Declaration
Swift
var segmentationMasks: [Mask] { get } -
Initializes a new
PoseLandmarkerResultwith the given array of landmarks, world landmarks, segmentation masks of the detected poses and timestamp (in milliseconds).Declaration
Swift
init(landmarks: [[NormalizedLandmark]], worldLandmarks: [[Landmark]], segmentationMasks: [Mask]?, timestampInMilliseconds: Int)Parameters
landmarksAn array of
NormalizedLandmarkobjects.worldLandmarksAn array of
Landmarkobjects.segmentationMasksAn array of
Maskobjects.timestampInMillisecondsThe timestamp (in milliseconds) for this result.
Return Value
An instance of
PoseLandmarkerResultinitialized with the given array of landmarks, world landmarks, segmentation masks of the detected poses and timestamp (in milliseconds). -
Undocumented
-
Undocumented
-
Undocumented