MediaPipeTasksVision Framework Reference

PoseLandmarkerResult

  class 
 PoseLandmarkerResult 
 : 
  TaskResult 
 
 

Represents 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 PoseLandmarkerResult with 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

    landmarks

    An array of NormalizedLandmark objects.

    worldLandmarks

    An array of Landmark objects.

    segmentationMasks

    An array of Mask objects.

    timestampInMilliseconds

    The timestamp (in milliseconds) for this result.

    Return Value

    An instance of PoseLandmarkerResult initialized with the given array of landmarks, world landmarks, segmentation masks of the detected poses and timestamp (in milliseconds).

  • Undocumented

  • Undocumented

  • Undocumented

Create a Mobile Website
View Site in Mobile | Classic
Share by: