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

Object
clone()
boolean
equals(Object arg0)
void
finalize()
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

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.