Interface FaceDetectionConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FaceDetectionConfig,FaceDetectionConfig.Builder
@Generated
public interface FaceDetectionConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether to enable face attributes detection, such as glasses, dark_glasses, mouth_open etc.booleanWhether bounding boxes are included in the face annotation output.getModel()Model to use for face detection.com.google.protobuf.ByteStringModel to use for face detection.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.
-