Class TextAnnotation (2.8.2)

Stay organized with collections Save and categorize content based on your preferences.
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

NameDescription
text str
The detected text.
segments Sequence[google.cloud.videointelligence_v1.types.TextSegment]
All video segments where OCR detected text appears.
version str
Feature version.

Inheritance

builtins.object > proto.message.Message > TextAnnotation