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
ProtocolMessageEnumStatic Fields
Name | Description |
CROP_HINTS | Run crop hints. |
CROP_HINTS_VALUE | Run crop hints. |
DOCUMENT_TEXT_DETECTION | Run dense text document OCR. Takes precedence when both
|
DOCUMENT_TEXT_DETECTION_VALUE | Run dense text document OCR. Takes precedence when both
|
FACE_DETECTION | Run face detection. |
FACE_DETECTION_VALUE | Run face detection. |
IMAGE_PROPERTIES | Compute a set of image properties, such as the image's dominant colors. |
IMAGE_PROPERTIES_VALUE | Compute a set of image properties, such as the image's dominant colors. |
LABEL_DETECTION | Run label detection. |
LABEL_DETECTION_VALUE | Run label detection. |
LANDMARK_DETECTION | Run landmark detection. |
LANDMARK_DETECTION_VALUE | Run landmark detection. |
LOGO_DETECTION | Run logo detection. |
LOGO_DETECTION_VALUE | Run logo detection. |
OBJECT_LOCALIZATION | Run localizer for object detection. |
OBJECT_LOCALIZATION_VALUE | Run localizer for object detection. |
PRODUCT_SEARCH | Run Product Search. |
PRODUCT_SEARCH_VALUE | Run Product Search. |
SAFE_SEARCH_DETECTION | Run Safe Search to detect potentially unsafe or undesirable content. |
SAFE_SEARCH_DETECTION_VALUE | Run Safe Search to detect potentially unsafe or undesirable content. |
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 |
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 |
TYPE_UNSPECIFIED | Unspecified feature type. |
TYPE_UNSPECIFIED_VALUE | Unspecified feature type. |
UNRECOGNIZED | |
WEB_DETECTION | Run web detection. |
WEB_DETECTION_VALUE | Run web detection. |
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() |