Google Cloud Video Intelligence v1 API - Class TextSegment (3.4.0)

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

Reference documentation and code samples for the Google Cloud Video Intelligence v1 API class TextSegment.

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
Name Description
other TextSegment

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
Type Description
float

Frames

public RepeatedField<TextFrame> Frames { get; }

Information related to the frames where OCR detected text appears.

Property Value
Type Description
RepeatedFieldTextFrame

Segment

public VideoSegment Segment { get; set; }

Video segment where a text snippet was detected.

Property Value
Type Description
VideoSegment