Class TextSegment (2.8.1)

Stay organized with collections Save and categorize content based on your preferences.
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 Sequence[google.cloud.videointelligence_v1p3beta1.types.TextFrame]
Information related to the frames where OCR detected text appears.

Inheritance

builtins.object > proto.message.Message > TextSegment