Class TextDetectionParams (3.7.3)

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

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 fine-tune OCR behavior.