Interface FaceDetectionConfigOrBuilder (2.8.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
TypeDescription
boolean

The includeAttributes.

getIncludeBoundingBoxes()

public abstract boolean getIncludeBoundingBoxes()

Whether bounding boxes are included in the face annotation output.

bool include_bounding_boxes = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for model.