MLKitSegmentationCommon Framework Reference
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.
[null,null,["Last updated 2024-07-10 UTC."],[[["ML Kit provides two globally available constants, `singleImage` and `stream`, for image segmentation."],["The `singleImage` constant is optimized for processing individual, static images."],["The `stream` constant is designed for video streams, using previous image data to speed up processing of subsequent frames."]]],[]]