Class Feature (3.11.0) Stay organized with collections Save and categorize content based on your preferences.
Feature(mapping=None,*,ignore_unknown_fields=False,**kwargs)The type of Google Cloud Vision API detection to perform, and themaximum number of results to return for that type. MultipleFeature objects can be specified in thefeatures list.
Attributes | |
|---|---|
| Name | Description |
type_ | google.cloud.vision_v1.types.Feature.TypeThe feature type. |
max_results | intMaximum number of results of this type. Does not apply to TEXT_DETECTION,DOCUMENT_TEXT_DETECTION, orCROP_HINTS. |
model | strModel to use for the feature. Supported values: "builtin/stable" (the default if unset) and "builtin/latest". DOCUMENT_TEXT_DETECTION andTEXT_DETECTION also support "builtin/weekly" for the bleeding edge release updated weekly. |
Classes
Type
Type(value)Type of Google Cloud Vision API feature to be extracted.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-30 UTC.