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.
|
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
)
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-06-05 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-06-05 UTC."],[],[]]