MLKitSegmentationCommon Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
Constants
The following constants are available globally.
-
Optimized for single static images.
-
Optimized to expedite the processing of a streaming video by leveraging the results from previous
images.
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\u003eThere are two globally available constants: \u003ccode\u003eMLKSegmenterModeSingleImage\u003c/code\u003e and \u003ccode\u003eMLKSegmenterModeStream\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMLKSegmenterModeSingleImage\u003c/code\u003e is optimized for processing single, static images.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMLKSegmenterModeStream\u003c/code\u003e is optimized for processing streaming video by using information from previously processed images for faster results.\u003c/p\u003e\n"]]],[],null,["# MLKitSegmentationCommon Framework Reference\n\nConstants\n=========\n\nThe following constants are available globally.\n- `\n ``\n ``\n `\n\n ### [MLKSegmenterModeSingleImage](#/c:@MLKSegmenterModeSingleImage)\n\n `\n ` \n Optimized for single static images. \n\n #### Declaration\n\n Objective-C \n\n extern const /ml-kit/reference/ios/mlkitsegmentationcommon/api/reference/Type-Definitions#/c:MLKCommonSegmenterOptions.h@T@MLKSegmenterMode MLKSegmenterModeSingleImage\n\n- `\n ``\n ``\n `\n\n ### [MLKSegmenterModeStream](#/c:@MLKSegmenterModeStream)\n\n `\n ` \n Optimized to expedite the processing of a streaming video by leveraging the results from previous\n images. \n\n #### Declaration\n\n Objective-C \n\n extern const /ml-kit/reference/ios/mlkitsegmentationcommon/api/reference/Type-Definitions#/c:MLKCommonSegmenterOptions.h@T@MLKSegmenterMode MLKSegmenterModeStream"]]