The type of Google Cloud Vision API detection to perform, and the maximum number of results to return for that type. Multiple Feature
objects can be specified in the features
list.
JSON representation |
---|
{
"type": enum ( |
Fields | |
---|---|
type |
The feature type. |
model |
Model to use for the feature. Supported values: "builtin/stable" (the default if unset) and "builtin/latest". |
Type
Type of Google Cloud Vision API feature to be extracted.
Enums | |
---|---|
TYPE_UNSPECIFIED |
Unspecified feature type. |
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. |
DOCUMENT_TEXT_DETECTION |
Run dense text document OCR. Takes precedence when both DOCUMENT_TEXT_DETECTION and TEXT_DETECTION are present. |