mp.tasks.vision.InteractiveSegmenterLegacyOptions
Stay organized with collections
Save and categorize content based on your preferences.
Options for the interactive segmenter task.
mp.tasks.vision.InteractiveSegmenterLegacyOptions(
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.
|
running_mode
|
The running mode of the task.
|
output_confidence_masks
|
Whether to output confidence masks.
|
output_category_mask
|
Whether to output category mask.
|
result_callback
|
The callback function that is invoked synchronously when
the current thread is idle.
|
Methods
__eq__
__eq__(
other
)
Return self==value.
Class Variables |
|
output_category_mask
|
False
|
|
output_confidence_masks
|
True
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-11-05 UTC.
[null,null,["Last updated 2026-11-05 UTC."],[],[]]