MediaPipeTasksVision Framework Reference

MPPInteractiveSegmenterOptions


@interface MPPInteractiveSegmenterOptions : MPPTaskOptions <NSCopying>

Options for setting up a InteractiveSegmenter.

  • The locale to use for display names specified through the TFLite Model Metadata, if any. Defaults to English.

    Declaration

    Objective-C

    @property (nonatomic, copy) NSString *_Nonnull displayNamesLocale;
  • Represents whether to output confidence masks.

    Declaration

    Objective-C

    @property (nonatomic) BOOL shouldOutputConfidenceMasks;
  • Represents whether to output category mask.

    Declaration

    Objective-C

    @property (nonatomic) BOOL shouldOutputCategoryMask;