public static abstract class
ImageGenerator.ConditionOptions.FaceConditionOptions.Builder
Builder for ImageGenerator.ConditionOptions.FaceConditionOptions
.
Public Constructors
Builder()
|
Public Methods
final ImageGenerator.ConditionOptions.FaceConditionOptions |
build()
Validates and builds the
ImageGenerator.ConditionOptions.FaceConditionOptions instance. |
abstract ImageGenerator.ConditionOptions.FaceConditionOptions.Builder | |
abstract ImageGenerator.ConditionOptions.FaceConditionOptions.Builder |
setMinFaceDetectionConfidence(float minFaceDetectionConfidence)
Set minimum confidence score of face presence score in the face landmark detection.
|
abstract ImageGenerator.ConditionOptions.FaceConditionOptions.Builder |
setMinFacePresenceConfidence(float minFacePresenceConfidence)
Set the face presence threshold
|
abstract ImageGenerator.ConditionOptions.FaceConditionOptions.Builder |
Inherited Methods
Public Constructors
public Builder ()
Public Methods
public final ImageGenerator.ConditionOptions.FaceConditionOptions build ()
Validates and builds the ImageGenerator.ConditionOptions.FaceConditionOptions
instance.
public abstract ImageGenerator.ConditionOptions.FaceConditionOptions.Builder setFaceModelBaseOptions (BaseOptions baseOptions)
Set base options for face landmarks model.
Parameters
baseOptions |
---|
public abstract ImageGenerator.ConditionOptions.FaceConditionOptions.Builder setMinFaceDetectionConfidence (float minFaceDetectionConfidence)
Set minimum confidence score of face presence score in the face landmark detection.
Parameters
minFaceDetectionConfidence |
---|
public abstract ImageGenerator.ConditionOptions.FaceConditionOptions.Builder setMinFacePresenceConfidence (float minFacePresenceConfidence)
Set the face presence threshold
Parameters
minFacePresenceConfidence |
---|
public abstract ImageGenerator.ConditionOptions.FaceConditionOptions.Builder setPluginModelBaseOptions (BaseOptions baseOptions)
Set the base options for plugin model.
Parameters
baseOptions |
---|