MLKitSegmentationSelfie Framework Reference

Constants

The following constants are available globally.

  • Optimized for single static images.

    Declaration

    Swift

    static let singleImage: SegmenterMode
  • Optimized to expedite the processing of a streaming video by leveraging the results from previous images.

    Declaration

    Swift

    static let stream: SegmenterMode