MLKitSegmentationSelfie Framework Reference
Classes
The following classes are available globally.
-
Options for specifying a segmenter.
Declaration
Objective-C
@interface MLKCommonSegmenterOptions : NSObject
-
Options for specifying a segmenter for selfie portraits.
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-07-10 UTC.
[null,null,["Last updated 2024-07-10 UTC."],[[["MLKCommonSegmenterOptions provides options for specifying a segmenter."],["MLKSelfieSegmenterOptions offers options for specifying a segmenter specifically designed for selfie portraits, inheriting from MLKCommonSegmenterOptions."]]],["The document outlines two globally available classes for segmentation: `MLKCommonSegmenterOptions` and `MLKSelfieSegmenterOptions`. `MLKCommonSegmenterOptions` offers options for a general segmenter, while `MLKSelfieSegmenterOptions` provides options specifically for segmenting selfie portraits. The latter class inherits from the `MLKCommonSegmenterOptions` class. Both are declared using Objective-C with `@interface`.\n"]]