Stay organized with collections
Save and categorize content based on your preferences.
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.
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.
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.
[[["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-07-10 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eFeature\u003c/code\u003e object specifies the type of Google Cloud Vision API detection to perform and allows for multiple detection types.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003etype\u003c/code\u003e field defines the specific feature type, chosen from options like \u003ccode\u003eTEXT_DETECTION\u003c/code\u003e or \u003ccode\u003eDOCUMENT_TEXT_DETECTION\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003emodel\u003c/code\u003e field allows specifying a particular model for the feature, with options like "builtin/stable", "builtin/latest", and "builtin/weekly".\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTEXT_DETECTION\u003c/code\u003e is designed for general text within images, whereas \u003ccode\u003eDOCUMENT_TEXT_DETECTION\u003c/code\u003e is optimized for dense text in documents.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDOCUMENT_TEXT_DETECTION\u003c/code\u003e takes priority if both \u003ccode\u003eDOCUMENT_TEXT_DETECTION\u003c/code\u003e and \u003ccode\u003eTEXT_DETECTION\u003c/code\u003e are specified.\u003c/p\u003e\n"]]],[],null,["# Feature\n\nThe 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.\n\nType\n----\n\nType of Google Cloud Vision API feature to be extracted."]]