public static abstract class
FaceStylizer.FaceStylizerOptions.Builder
Builder for FaceStylizer.FaceStylizerOptions
.
Public Constructors
Builder()
|
Public Methods
final FaceStylizer.FaceStylizerOptions |
build()
Builds the
FaceStylizer.FaceStylizerOptions instance. |
abstract FaceStylizer.FaceStylizerOptions.Builder | |
abstract FaceStylizer.FaceStylizerOptions.Builder | |
abstract FaceStylizer.FaceStylizerOptions.Builder |
setResultListener(ResultListener<FaceStylizerResult, MPImage> value)
Sets an optional
OutputHandler.ResultListener to receive the stylization results when the graph
pipeline is done processing an image. |
Inherited Methods
Public Constructors
public Builder ()
Public Methods
public final FaceStylizer.FaceStylizerOptions build ()
Builds the FaceStylizer.FaceStylizerOptions
instance.
public abstract FaceStylizer.FaceStylizerOptions.Builder setBaseOptions (BaseOptions value)
Sets the base options for the face stylizer task.
Parameters
value |
---|
public abstract FaceStylizer.FaceStylizerOptions.Builder setErrorListener (ErrorListener value)
Sets an optional ErrorListener
}.
Parameters
value |
---|
public abstract FaceStylizer.FaceStylizerOptions.Builder setResultListener (ResultListener<FaceStylizerResult, MPImage> value)
Sets an optional OutputHandler.ResultListener
to receive the stylization results when the graph
pipeline is done processing an image.
Parameters
value |
---|