Class TextSegment (3.0.0)

public sealed class TextSegment : IMessage<TextSegment>, IEquatable<TextSegment>, IDeepCloneable<TextSegment>, IBufferMessage, IMessage

Video segment level annotation results for text detection.

Inheritance

Object > TextSegment

Namespace

Google.Cloud.VideoIntelligence.V1

Assembly

Google.Cloud.VideoIntelligence.V1.dll

Constructors

TextSegment()

public TextSegment()

TextSegment(TextSegment)

public TextSegment(TextSegment other)
Parameter
NameDescription
otherTextSegment

Properties

Confidence

public float Confidence { get; set; }

Confidence for the track of detected text. It is calculated as the highest over all frames where OCR detected text appears.

Property Value
TypeDescription
Single

Frames

public RepeatedField<TextFrame> Frames { get; }

Information related to the frames where OCR detected text appears.

Property Value
TypeDescription
RepeatedField<TextFrame>

Segment

public VideoSegment Segment { get; set; }

Video segment where a text snippet was detected.

Property Value
TypeDescription
VideoSegment