com.google.mlkit.vision.segmentation

  • The ML Kit Segmentation API enables identification of foreground and background pixels within images.

  • Segmenter interface facilitates the segmentation process, providing access to the Segmentation functionality.

  • Segmentation serves as the entry point for image segmentation analysis, generating a SegmentationMask.

  • SegmentationMask encapsulates the results, representing the identified foreground and background pixels.

Interfaces

Segmenter A Segmentation client for identifying pixels in a supplied image as being part of the foreground or the background. 

Classes

Segmentation Entry point for identifying pixels in a supplied image as being part of the foreground or the background. 
SegmentationMask Result of Segmentation