Class TextSegment (2.7.0)

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

Video segment level annotation results for text detection.

Attributes

NameDescription
segment google.cloud.videointelligence_v1p2beta1.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_v1p2beta1.types.TextFrame]
Information related to the frames where OCR detected text appears.

Inheritance

builtins.object > proto.message.Message > TextSegment