Class Feature (2.7.2)

Feature(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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.

Attributes

NameDescription
type_ google.cloud.vision_v1p4beta1.types.Feature.Type
The feature type.
max_results int
Maximum number of results of this type. Does not apply to ``TEXT_DETECTION``, ``DOCUMENT_TEXT_DETECTION``, or ``CROP_HINTS``.
model str
Model to use for the feature. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".

Inheritance

builtins.object > proto.message.Message > Feature

Classes

Type

Type(value)

Type of Google Cloud Vision API feature to be extracted.