Introducing Google AI Edge Portal: Benchmark Edge AI at scale. Sign-up to request access during private preview.

mp.tasks.vision.InteractiveSegmenterOptions

View source on GitHub

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

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 2024年05月01日 UTC.