InteractiveSegmenterOptions interface

Options to configure the MediaPipe Interactive Segmenter Task

Signature:

  export 
  
 declare 
  
 interface 
  
 InteractiveSegmenterOptions 
  
 extends 
  
 TaskRunnerOptions 
  
 

Extends: TaskRunnerOptions

Properties

Property Type Description
boolean | undefined Whether to output the category masks. Defaults to false.
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 
 ; 
 
Create a Mobile Website
View Site in Mobile | Classic
Share by: