Class TextAnnotation (2.13.5)

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

Annotations related to one detected OCR text snippet. This will contain the corresponding text, confidence value, and frame level information for each detection.

Attributes

Name Description
text str
The detected text.
segments MutableSequence[google.cloud.videointelligence_v1p2beta1.types.TextSegment]
All video segments where OCR detected text appears.