mp.tasks.vision.InteractiveSegmenterOptions

Options for the interactive segmenter task.

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__

output_category_mask False
output_confidence_masks True