Class TextSegment (2.0.0)

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

Video segment level annotation results for text detection.

Attributes

NameDescription
segment .video_intelligence.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[.video_intelligence.TextFrame]
Information related to the frames where OCR detected text appears.