Parameters for text detections. This is used to control
TEXT_DETECTION and DOCUMENT_TEXT_DETECTION features.
Attributes
Name
Description
enable_text_detection_confidence_score
bool
By default, Cloud Vision API only includes confidence score
for DOCUMENT_TEXT_DETECTION result. Set the flag to true to
include confidence score for TEXT_DETECTION as well.
advanced_ocr_options
MutableSequence[str]
A list of advanced OCR options to further fine-tune OCR
behavior. Current valid values are:
- legacy_layout: a heuristics layout detection
algorithm, which serves as an alternative to the current
ML-based layout detection algorithm. Customers can choose
the best suitable layout algorithm based on their
situation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[]]