Class TextDetectionParams (3.1.4)

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

Parameters for text detections. This is used to control TEXT_DETECTION and DOCUMENT_TEXT_DETECTION features.

Attributes

NameDescription
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 Sequence[str]
A list of advanced OCR options to fine-tune OCR behavior.