Class TextSegment (2.11.4)

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

Video segment level annotation results for text detection.

Attributes

NameDescription
segment google.cloud.videointelligence_v1p3beta1.types.VideoSegment
Video segment where a text snippet was detected.
confidence float
Confidence for the track of detected text. It is calculated as the highest over all frames where OCR detected text appears.
frames MutableSequence[google.cloud.videointelligence_v1p3beta1.types.TextFrame]
Information related to the frames where OCR detected text appears.