Interface FaceDetectionConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FaceDetectionConfig
,FaceDetectionConfig.Builder
public interface FaceDetectionConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getIncludeAttributes()
Whether to enable face attributes detection, such as glasses, dark_glasses, mouth_open etc.boolean
getIncludeBoundingBoxes()
Whether bounding boxes are included in the face annotation output.String
getModel()
Model to use for face detection.com.google.protobuf.ByteString
getModelBytes()
Model to use for face detection.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getModel
String getModel()
Model to use for face detection. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".
string model = 1;
- Returns:
- The model.
-
getModelBytes
com.google.protobuf.ByteString getModelBytes()
Model to use for face detection. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".
string model = 1;
- Returns:
- The bytes for model.
-
getIncludeBoundingBoxes
boolean getIncludeBoundingBoxes()
Whether bounding boxes are included in the face annotation output.
bool include_bounding_boxes = 2;
- Returns:
- The includeBoundingBoxes.
-
getIncludeAttributes
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:
- The includeAttributes.
-
-