public static abstract class
HolisticLandmarker.HolisticLandmarkerOptions.Builder
Builder for HolisticLandmarker.HolisticLandmarkerOptions
.
Public Constructors
Builder()
|
Public Methods
Inherited Methods
Public Constructors
public Builder ()
Public Methods
public final HolisticLandmarker.HolisticLandmarkerOptions build ()
Validates and builds the HolisticLandmarker.HolisticLandmarkerOptions
instance.
Throws
IllegalArgumentException | if the result listener and the running mode are not properly configured. The result listener should only be set when the holistic landmarker is in the live stream mode. |
---|
public abstract HolisticLandmarker.HolisticLandmarkerOptions.Builder setBaseOptions (BaseOptions value)
Sets the base options for the holistic landmarker task.
Parameters
value |
---|
public abstract HolisticLandmarker.HolisticLandmarkerOptions.Builder setErrorListener (ErrorListener value)
Sets an optional error listener.
Parameters
value |
---|
public abstract HolisticLandmarker.HolisticLandmarkerOptions.Builder setMinFaceDetectionConfidence (Float value)
Sets minimum confidence score for the face detection to be considered successful. Defaults to 0.5.
Parameters
value |
---|
public abstract HolisticLandmarker.HolisticLandmarkerOptions.Builder setMinFacePresenceConfidence (Float value)
Sets minimum confidence score for the face landmark detection to be considered successful. Defaults to 0.5.
Parameters
value |
---|