# Class Feature (3.15.0)

3.15.0 (latest) 3.14.0 3.13.0 3.12.1 3.11.0 3.10.2 3.9.0 3.8.1 3.7.4 3.6.0 3.5.0 3.4.5 3.3.1 3.2.0 3.1.4 3.0.0 2.8.0 2.7.3 2.6.3 2.5.0 2.4.4 2.3.2 2.2.0 2.1.0 2.0.0 1.0.2 0.42.0 0.41.0 0.40.0 0.39.0 0.38.1

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

Users describe the type of Google Cloud Vision API tasks to perform
over images by using *Feature*\\ s. Each Feature indicates a type of
image detection task to perform. Features encode the Cloud Vision
API vertical to operate on and the number of top-scoring results to
return.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `type_` | `https://docs.cloud.google.com/python/docs/reference/vision/latest/google.cloud.vision_v1p1beta1.types.Feature.Type` The feature type. |
| `max_results` | `int` Maximum number of results of this type. |
| `model` | `str` Model to use for the feature. Supported values: "builtin/stable" (the default if unset) and "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also support "builtin/weekly" for the bleeding edge release updated weekly. |

## Classes

### Type

    Type(value)

Type of image feature.