com.google.mlkit.vision.segmentation.subject

  • SubjectSegmentation provides an entry point to segment subjects in an image using SubjectSegmenter.

  • SubjectSegmenter generates SubjectSegmentationResult which contains information about segmented subjects.

  • Subject represents a single segmented subject from the input image.

  • SubjectSegmenterOptions and SubjectSegmenterOptions.SubjectResultOptions allow customization of the segmentation process and output.