MediaPipeTasksVision Framework Reference

MPPBaseOptions


@interface MPPBaseOptions : 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

    Objective-C

    @property (nonatomic, copy) NSString *_Nonnull modelAssetPath;
  • Overrides the default backend to use for the provided model.

    Declaration

    Objective-C

    @property (nonatomic) MPPDelegate delegate;