InteractiveSegmenterLegacyOptions interface

Options to configure the MediaPipe Interactive Segmenter Task

Signature:

export declare interface InteractiveSegmenterLegacyOptions extends VisionTaskOptions 

Extends: VisionTaskOptions

Properties

Property Type Description
outputCategoryMask boolean | undefined Whether to output the category masks. Defaults to false.
outputConfidenceMasks boolean | undefined Whether to output confidence masks. Defaults to true.

InteractiveSegmenterLegacyOptions.outputCategoryMask

Whether to output the category masks. Defaults to false.

Signature:

outputCategoryMask?: boolean | undefined;

InteractiveSegmenterLegacyOptions.outputConfidenceMasks

Whether to output confidence masks. Defaults to true.

Signature:

outputConfidenceMasks?: boolean | undefined;