MediaPipeTasksVision Framework Reference

Enumerations

The following enumerations are available globally.

  • The delegate to run MediaPipe. If the delegate is not set, the default delegate CPU is used.

    Declaration

    Swift

      enum 
     Delegate 
     : 
     UInt 
     , 
     @unchecked 
     Sendable 
     
    
  • @enum MPPTasksErrorCode This enum specifies error codes for errors thrown by iOS MediaPipe Task Library.

    Declaration

    Swift

      enum 
     TasksErrorCode 
     : 
     UInt 
     , 
     @unchecked 
     Sendable 
     
    
  • The enum containing the 21 hand landmarks.

    Declaration

    Swift

      enum 
     HandLandmark 
     : 
     UInt 
     , 
     @unchecked 
     Sendable 
     
    
  • The underlying type of the segmentation mask.

    Declaration

    Swift

      enum 
     MaskDataType 
     : 
     UInt 
     , 
     @unchecked 
     Sendable 
     
    
  • MediaPipe vision task running mode. A MediaPipe vision task can be run with three different modes: image, video and live stream.

    Declaration

    Swift

      enum 
     RunningMode 
     : 
     UInt 
     , 
     @unchecked 
     Sendable 
     
    
Create a Mobile Website
View Site in Mobile | Classic
Share by: