Interface FaceDetectionConfigOrBuilder (2.45.0)

public interface FaceDetectionConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getIncludeAttributes()

public abstract boolean getIncludeAttributes()

Whether to enable face attributes detection, such as glasses, dark_glasses, mouth_open etc. Ignored if 'include_bounding_boxes' is set to false.

bool include_attributes = 5;

Returns
Type Description
boolean

The includeAttributes.

getIncludeBoundingBoxes()

public abstract boolean getIncludeBoundingBoxes()

Whether bounding boxes are included in the face annotation output.

bool include_bounding_boxes = 2;

Returns
Type Description
boolean

The includeBoundingBoxes.

getModel()

public abstract String getModel()

Model to use for face detection. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".

string model = 1;

Returns
Type Description
String

The model.

getModelBytes()

public abstract ByteString getModelBytes()

Model to use for face detection. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".

string model = 1;

Returns
Type Description
ByteString

The bytes for model.