Options for Segmenter
.
Nested Class Summary
class | SelfieSegmenterOptions.Builder | Builder for
SelfieSegmenterOptions . |
|
@interface | SelfieSegmenterOptions.DetectorMode | The detector mode which indicates whether it is for single image or for streaming. |
Constant Summary
int | SINGLE_IMAGE_MODE | This mode is designed for single images that are not related. |
int | STREAM_MODE | This mode is designed for streaming frames from video or camera. |
Field Summary
public static final SelfieSegmenterOptions | DEFAULT_OPTIONS | The default
SelfieSegmenterOptions . |
Public Method Summary
boolean | |
int |
hashCode()
Returns a hash code value for the object.
|
String |
toString()
|
Inherited Method Summary
Constants
public static final int SINGLE_IMAGE_MODE
This mode is designed for single images that are not related. In this mode, the detector will process each image independently, with no smoothing over frames.
public static final int STREAM_MODE
This mode is designed for streaming frames from video or camera. In this mode, the detector will leverage results from previous images to return smoother segmentation results.
Fields
public static final SelfieSegmenterOptions DEFAULT_OPTIONS
The default
SelfieSegmenterOptions
.
This is equivalent to new SelfieSegmenterOptions.Builder().build()
.
Public Methods
public boolean equals (Object o)
Indicates whether some other object is "equal to" this one.
public int hashCode ()
Returns a hash code value for the object.