MediaPipeTasksVision Framework Reference

InteractiveSegmenterOptions

class InteractiveSegmenterOptions : TaskOptions, 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

    Swift

    var displayNamesLocale: String { get set }
  • Represents whether to output confidence masks.

    Declaration

    Swift

    var shouldOutputConfidenceMasks: Bool { get set }
  • Represents whether to output category mask.

    Declaration

    Swift

    var shouldOutputCategoryMask: Bool { get set }