# InteractiveSegmenterLegacyOptions

    class InteractiveSegmenterLegacyOptions: TaskOptions, NSCopying

Options for setting up a `InteractiveSegmenterLegacy`.
- `
  ### [displayNamesLocale](https://developers.google.com/edge/api/mediapipe/swift/vision/Classes/InteractiveSegmenterLegacyOptions.md.txt#/c:objc(cs)MPPInteractiveSegmenterLegacyOptions(py)displayNamesLocale)

  ` 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 }

- `
  ### [shouldOutputCategoryMask](https://developers.google.com/edge/api/mediapipe/swift/vision/Classes/InteractiveSegmenterLegacyOptions.md.txt#/c:objc(cs)MPPInteractiveSegmenterLegacyOptions(py)shouldOutputCategoryMask)

  ` Represents whether to output category mask.

  #### Declaration

  Swift

      var shouldOutputCategoryMask: Bool { get set }

- `
  ### [shouldOutputConfidenceMasks](https://developers.google.com/edge/api/mediapipe/swift/vision/Classes/InteractiveSegmenterLegacyOptions.md.txt#/c:objc(cs)MPPInteractiveSegmenterLegacyOptions(py)shouldOutputConfidenceMasks)

  ` Represents whether to output confidence masks.

  #### Declaration

  Swift

      var shouldOutputConfidenceMasks: Bool { get set }