MediaPipeTasksVision Framework Reference
MPPInteractiveSegmenterOptions
@interface MPPInteractiveSegmenterOptions : MPPTaskOptions <NSCopying>
Options for setting up a InteractiveSegmenter
.
-
The locale to use for display names specified through the TFLite Model Metadata, if any. Defaults
to English.
Declaration
Objective-C
@property (nonatomic, copy) NSString *_Nonnull displayNamesLocale;
-
Represents whether to output confidence masks.
Declaration
Objective-C
@property (nonatomic) BOOL shouldOutputConfidenceMasks;
-
Represents whether to output category mask.
Declaration
Objective-C
@property (nonatomic) BOOL shouldOutputCategoryMask;
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-08 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 2024-05-08 UTC."],[],[],null,["# MediaPipeTasksVision Framework Reference\n\nMPPInteractiveSegmenterOptions\n==============================\n\n\n @interface MPPInteractiveSegmenterOptions : ../Classes/MPPTaskOptions.html \u003cNSCopying\u003e\n\nOptions for setting up a `InteractiveSegmenter`.\n- `\n ``\n ``\n `\n\n ### [displayNamesLocale](#/c:objc(cs)MPPInteractiveSegmenterOptions(py)displayNamesLocale)\n\n `\n ` \n The locale to use for display names specified through the TFLite Model Metadata, if any. Defaults\n to English. \n\n #### Declaration\n\n Objective-C \n\n @property (nonatomic, copy) NSString *_Nonnull displayNamesLocale;\n\n- `\n ``\n ``\n `\n\n ### [shouldOutputConfidenceMasks](#/c:objc(cs)MPPInteractiveSegmenterOptions(py)shouldOutputConfidenceMasks)\n\n `\n ` \n Represents whether to output confidence masks. \n\n #### Declaration\n\n Objective-C \n\n @property (nonatomic) BOOL shouldOutputConfidenceMasks;\n\n- `\n ``\n ``\n `\n\n ### [shouldOutputCategoryMask](#/c:objc(cs)MPPInteractiveSegmenterOptions(py)shouldOutputCategoryMask)\n\n `\n ` \n Represents whether to output category mask. \n\n #### Declaration\n\n Objective-C \n\n @property (nonatomic) BOOL shouldOutputCategoryMask;"]]