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 }