<br />

Options to configure the MediaPipe Image Segmenter Task

**Signature:**

    export declare interface ImageSegmenterOptions extends VisionTaskOptions 

## Properties

| Property | Modifiers | Type | Description |
|---|---|---|---|
| [displayNamesLocale](https://developers.google.com/edge/api/mediapipe/js/tasks-vision.imagesegmenteroptions#imagesegmenteroptionsdisplaynameslocale) |   | string \| undefined | The locale to use for display names specified through the TFLite Model Metadata, if any. Defaults to English. |
| [outputConfidenceMasks](https://developers.google.com/edge/api/mediapipe/js/tasks-vision.imagesegmenteroptions#imagesegmenteroptionsoutputconfidencemasks) |   | boolean \| undefined | Whether to output confidence masks. Defaults to true. |
| [outputCategoryMask](https://developers.google.com/edge/api/mediapipe/js/tasks-vision.imagesegmenteroptions#imagesegmenteroptionsoutputcategorymask) |   | boolean \| undefined | Whether to output the category masks. Defaults to false. |

## ImageSegmenterOptions.displayNamesLocale {#imagesegmenteroptionsdisplaynameslocale}

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

**Signature:**

    displayNamesLocale?: string | undefined;

## ImageSegmenterOptions.outputConfidenceMasks {#imagesegmenteroptionsoutputconfidencemasks}

Whether to output confidence masks. Defaults to true.

**Signature:**

    outputConfidenceMasks?: boolean | undefined;

## ImageSegmenterOptions.outputCategoryMask {#imagesegmenteroptionsoutputcategorymask}

Whether to output the category masks. Defaults to false.

**Signature:**

    outputCategoryMask?: boolean | undefined;