InteractiveSegmenterOptions interface

Options to configure the MediaPipe Interactive Segmenter Task

Signature:

export declare interface InteractiveSegmenterOptions extends TaskRunnerOptions 

Extends: TaskRunnerOptions

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.

InteractiveSegmenterOptions.outputCategoryMask

Whether to output the category masks. Defaults to false.

Signature:

outputCategoryMask?: boolean | undefined;

InteractiveSegmenterOptions.outputConfidenceMasks

Whether to output confidence masks. Defaults to true.

Signature:

outputConfidenceMasks?: boolean | undefined;