View source on GitHub
|
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. |
output_confidence_masks
|
Whether to output confidence masks. |
output_category_mask
|
Whether to output category mask. |
Methods
to_ctypes
to_ctypes() -> MpInteractiveSegmenterLegacyOptionsC
Generates an MpInteractiveSegmenterLegacyOptionsC ctypes struct.
__eq__
__eq__(
other
)
Return self==value.
Class Variables | |
|---|---|
| output_category_mask |
False
|
| output_confidence_masks |
True
|
View source on GitHub