Introducing Google AI Edge Portal: Benchmark Edge AI at scale. Sign-up to request access during private preview.
mp.tasks.vision.InteractiveSegmenterOptions
Options for the interactive segmenter task.
mp.tasks.vision.InteractiveSegmenterOptions(
base_options: mp.tasks.BaseOptions ,
output_confidence_masks: bool = True,
output_category_mask: bool = False
)
Attributes | |
|---|---|
base_options
|
Base options for the interactive segmenter task. |
output_confidence_masks
|
Whether to output confidence masks. |
output_category_mask
|
Whether to output category mask. |
Methods
__eq__
__eq__(
other
)
Class Variables | |
|---|---|
| output_category_mask |
False
|
| output_confidence_masks |
True
|