MLKitSegmentationSelfie Framework Reference

  • Two global constants, MLKSegmenterModeSingleImage and MLKSegmenterModeStream, are available for image segmentation tasks.

  • MLKSegmenterModeSingleImage is optimized for processing individual, static images.

  • MLKSegmenterModeStream is designed for video streams, utilizing previous frame data for faster processing.

Constants

The following constants are available globally.