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 the maximum number of results to return for that type. Multiple Feature
objects can be specified in the features
list.
type_
google.cloud.vision_v1.types.Feature.Type
max_results
int
TEXT_DETECTION
, DOCUMENT_TEXT_DETECTION
, or CROP_HINTS
. model
str
DOCUMENT_TEXT_DETECTION
and TEXT_DETECTION
also support "builtin/weekly" for the bleeding edge release updated weekly. Classes Type
Type of Google Cloud Vision API feature to be extracted.
Values: TYPE_UNSPECIFIED (0): Unspecified feature type. FACE_DETECTION (1): Run face detection. LANDMARK_DETECTION (2): Run landmark detection. LOGO_DETECTION (3): Run logo detection. LABEL_DETECTION (4): Run label detection. TEXT_DETECTION (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 (11): Run dense text document OCR. Takes precedence when both DOCUMENT_TEXT_DETECTION
and TEXT_DETECTION
are present. SAFE_SEARCH_DETECTION (6): Run Safe Search to detect potentially unsafe or undesirable content. IMAGE_PROPERTIES (7): Compute a set of image properties, such as the image's dominant colors. CROP_HINTS (9): Run crop hints. WEB_DETECTION (10): Run web detection. PRODUCT_SEARCH (12): Run Product Search. OBJECT_LOCALIZATION (19): Run localizer for object detection.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4