MLKitSegmentationCommon Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
Classes
The following classes are available globally.
-
Options for specifying a segmenter.
Declaration
Swift
class
CommonSegmenterOptions
:
NSObject
-
The result from a segmenter operation.
Declaration
Swift
class
SegmentationMask
:
NSObject
-
A detector that performs segmentation on input images.
Declaration
Swift
class
Segmenter
:
NSObject
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.
[[["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-07-10 UTC."],[[["\u003cp\u003eThree main classes (\u003ccode\u003eCommonSegmenterOptions\u003c/code\u003e, \u003ccode\u003eSegmentationMask\u003c/code\u003e, and \u003ccode\u003eSegmenter\u003c/code\u003e) are available for image segmentation tasks.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCommonSegmenterOptions\u003c/code\u003e allows customization of the segmentation process.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSegmentationMask\u003c/code\u003e encapsulates the result obtained from the segmentation operation.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSegmenter\u003c/code\u003e is the core class responsible for executing the image segmentation.\u003c/p\u003e\n"]]],["The content describes three Swift classes related to image segmentation. `CommonSegmenterOptions` allows configuration of a segmenter. `SegmentationMask` represents the output of a segmenter, providing the segmentation results. `Segmenter` is the core class, responsible for performing the segmentation process on input images. All are subclasses of `NSObject`. Each class is a part of the ML Kit framework, which provides the ability to implement machine learning capabilities into swift applications.\n"],null,["# MLKitSegmentationCommon Framework Reference\n\nClasses\n=======\n\nThe following classes are available globally.\n- `\n ``\n ``\n `\n\n ### [CommonSegmenterOptions](/ml-kit/reference/swift/mlkitsegmentationcommon/api/reference/Classes/CommonSegmenterOptions)\n\n `\n ` \n Options for specifying a segmenter. \n\n #### Declaration\n\n Swift \n\n class CommonSegmenterOptions : NSObject\n\n- `\n ``\n ``\n `\n\n ### [SegmentationMask](/ml-kit/reference/swift/mlkitsegmentationcommon/api/reference/Classes/SegmentationMask)\n\n `\n ` \n The result from a segmenter operation. \n\n #### Declaration\n\n Swift \n\n class SegmentationMask : NSObject\n\n- `\n ``\n ``\n `\n\n ### [Segmenter](/ml-kit/reference/swift/mlkitsegmentationcommon/api/reference/Classes/Segmenter)\n\n `\n ` \n A detector that performs segmentation on input images. \n\n #### Declaration\n\n Swift \n\n class Segmenter : NSObject"]]