Class TextDetectionParams (2.2.0)

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

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

Attribute

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.