Options to configure the MediaPipe Interactive Segmenter Task
Signature:
export declare interface InteractiveSegmenterLegacyOptions extends VisionTaskOptions
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| outputConfidenceMasks | boolean | undefined | Whether to output confidence masks. Defaults to true. | |
| outputCategoryMask | boolean | undefined | Whether to output the category masks. Defaults to false. |
InteractiveSegmenterLegacyOptions.outputConfidenceMasks
Whether to output confidence masks. Defaults to true.
Signature:
outputConfidenceMasks?: boolean | undefined;
InteractiveSegmenterLegacyOptions.outputCategoryMask
Whether to output the category masks. Defaults to false.
Signature:
outputCategoryMask?: boolean | undefined;