Cloud Vision V1 API - Module Google::Cloud::Vision::V1::Feature::Type (v0.13.2)

Reference documentation and code samples for the Cloud Vision V1 API module Google::Cloud::Vision::V1::Feature::Type.

Type of Google Cloud Vision API feature to be extracted.

Constants

TYPE_UNSPECIFIED

value: 0
Unspecified feature type.

FACE_DETECTION

value: 1
Run face detection.

LANDMARK_DETECTION

value: 2
Run landmark detection.

LOGO_DETECTION

value: 3
Run logo detection.

LABEL_DETECTION

value: 4
Run label detection.

TEXT_DETECTION

value: 5
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.

DOCUMENT_TEXT_DETECTION

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

SAFE_SEARCH_DETECTION

value: 6
Run Safe Search to detect potentially unsafe or undesirable content.

IMAGE_PROPERTIES

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

CROP_HINTS

value: 9
Run crop hints.

WEB_DETECTION

value: 10
Run web detection.

value: 12
Run Product Search.

OBJECT_LOCALIZATION

value: 19
Run localizer for object detection.