Enum Feature.Type (3.49.0)

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

Type of Google Cloud Vision API feature to be extracted.

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

Implements

ProtocolMessageEnum

Static Fields

Name Description
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;

OBJECT_LOCALIZATION

Run localizer for object detection.

OBJECT_LOCALIZATION = 19;

OBJECT_LOCALIZATION_VALUE

Run localizer for object detection.

OBJECT_LOCALIZATION = 19;

Run Product Search.

PRODUCT_SEARCH = 12;

PRODUCT_SEARCH_VALUE

Run Product Search.

PRODUCT_SEARCH = 12;

SAFE_SEARCH_DETECTION

Run Safe Search to detect potentially unsafe or undesirable content.

SAFE_SEARCH_DETECTION = 6;

SAFE_SEARCH_DETECTION_VALUE

Run Safe Search to detect potentially unsafe or undesirable content.

SAFE_SEARCH_DETECTION = 6;

TEXT_DETECTION

Run text detection / optical character recognition (OCR). Text detection is optimized for areas of text within a larger image; if the image is a document, use DOCUMENT_TEXT_DETECTION instead.

TEXT_DETECTION = 5;

TEXT_DETECTION_VALUE

Run text detection / optical character recognition (OCR). Text detection is optimized for areas of text within a larger image; if the image is a document, use DOCUMENT_TEXT_DETECTION instead.

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

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()