MediaPipeTasksVision Framework Reference

BaseOptions

  class 
 BaseOptions 
 : 
 NSObject 
 , 
 NSCopying 
 

Holds the base options that is used for creation of any type of task. It has fields with important information acceleration configuration, TFLite model source etc.

  • The path to the model asset to open and mmap in memory.

    Declaration

    Swift

      var 
     modelAssetPath 
     : 
     String 
     { 
     get 
     set 
     } 
     
    
  • Overrides the default backend to use for the provided model.

    Declaration

    Swift

      var 
     delegate 
     : 
      Delegate 
     
     { 
     get 
     set 
     } 
     
    
Design a Mobile Site
View Site in Mobile | Classic
Share by: