Enum Feature.Type (2.1.4)

public enum Feature.Type extends Enum<Feature.Type> implements ProtocolMessageEnum

Type of image feature.

Protobuf enum google.cloud.vision.v1p1beta1.Feature.Type

Implements

ProtocolMessageEnum

Static Fields

NameDescription
CROP_HINTS

Run crop hints.

CROP_HINTS = 9;

CROP_HINTS_VALUE

Run crop hints.

CROP_HINTS = 9;

DOCUMENT_TEXT_DETECTION

Run dense text document OCR. Takes precedence when both DOCUMENT_TEXT_DETECTION and TEXT_DETECTION are present.

DOCUMENT_TEXT_DETECTION = 11;

DOCUMENT_TEXT_DETECTION_VALUE

Run dense text document OCR. Takes precedence when both DOCUMENT_TEXT_DETECTION and TEXT_DETECTION are present.

DOCUMENT_TEXT_DETECTION = 11;

FACE_DETECTION

Run face detection.

FACE_DETECTION = 1;

FACE_DETECTION_VALUE

Run face detection.

FACE_DETECTION = 1;

IMAGE_PROPERTIES

Compute a set of image properties, such as the image's dominant colors.

IMAGE_PROPERTIES = 7;

IMAGE_PROPERTIES_VALUE

Compute a set of image properties, such as the image's dominant colors.

IMAGE_PROPERTIES = 7;

LABEL_DETECTION

Run label detection.

LABEL_DETECTION = 4;

LABEL_DETECTION_VALUE

Run label detection.

LABEL_DETECTION = 4;

LANDMARK_DETECTION

Run landmark detection.

LANDMARK_DETECTION = 2;

LANDMARK_DETECTION_VALUE

Run landmark detection.

LANDMARK_DETECTION = 2;

LOGO_DETECTION

Run logo detection.

LOGO_DETECTION = 3;

LOGO_DETECTION_VALUE

Run logo detection.

LOGO_DETECTION = 3;

SAFE_SEARCH_DETECTION

Run computer vision models to compute image safe-search properties.

SAFE_SEARCH_DETECTION = 6;

SAFE_SEARCH_DETECTION_VALUE

Run computer vision models to compute image safe-search properties.

SAFE_SEARCH_DETECTION = 6;

TEXT_DETECTION

Run OCR.

TEXT_DETECTION = 5;

TEXT_DETECTION_VALUE

Run OCR.

TEXT_DETECTION = 5;

TYPE_UNSPECIFIED

Unspecified feature type.

TYPE_UNSPECIFIED = 0;

TYPE_UNSPECIFIED_VALUE

Unspecified feature type.

TYPE_UNSPECIFIED = 0;

UNRECOGNIZED
WEB_DETECTION

Run web detection.

WEB_DETECTION = 10;

WEB_DETECTION_VALUE

Run web detection.

WEB_DETECTION = 10;

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()