SubjectSegmentation

public class SubjectSegmentation extends Object

Entry point to get an SubjectSegmenter for generating SubjectSegmentationResult in a supplied image.

Public Method Summary

static SubjectSegmenter
getClient(SubjectSegmenterOptions options)
Gets an new instance of SubjectSegmenter to generate SubjectSegmentationResult in a supplied image.

Inherited Method Summary

Public Methods

public static SubjectSegmenter getClient (SubjectSegmenterOptions options)

Gets an new instance of SubjectSegmenter to generate SubjectSegmentationResult in a supplied image.

To release the resources associated with a SubjectSegmenter, you need to ensure that SubjectSegmenter.close() is called on the resulting SubjectSegmenter instance once it will no longer be used.