[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eTextSegment\u003c/code\u003e class in the Google Cloud Video Intelligence v1 API represents video segment-level annotation results for text detection.\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the \u003ccode\u003eGoogle.Cloud.VideoIntelligence.V1\u003c/code\u003e namespace and is available in the \u003ccode\u003eGoogle.Cloud.VideoIntelligence.V1.dll\u003c/code\u003e assembly with versioning information available for versions from 2.2.0 up to the latest 3.4.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTextSegment\u003c/code\u003e implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable<TextSegment>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<TextSegment>\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties such as \u003ccode\u003eConfidence\u003c/code\u003e, \u003ccode\u003eFrames\u003c/code\u003e, and \u003ccode\u003eSegment\u003c/code\u003e to provide information about the detected text's confidence, the frames it appears in, and the video segment it belongs to.\u003c/p\u003e\n"],["\u003cp\u003eThe available constructors allow for the creation of a new \u003ccode\u003eTextSegment\u003c/code\u003e instance, either empty or initialized with another \u003ccode\u003eTextSegment\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Video Intelligence v1 API - Class TextSegment (3.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.4.0 (latest)](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/latest/Google.Cloud.VideoIntelligence.V1.TextSegment)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/3.3.0/Google.Cloud.VideoIntelligence.V1.TextSegment)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/3.2.0/Google.Cloud.VideoIntelligence.V1.TextSegment)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/3.1.0/Google.Cloud.VideoIntelligence.V1.TextSegment)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/3.0.0/Google.Cloud.VideoIntelligence.V1.TextSegment)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/2.3.0/Google.Cloud.VideoIntelligence.V1.TextSegment)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/2.2.0/Google.Cloud.VideoIntelligence.V1.TextSegment) \n\n public sealed class TextSegment : IMessage\u003cTextSegment\u003e, IEquatable\u003cTextSegment\u003e, IDeepCloneable\u003cTextSegment\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Video Intelligence v1 API class TextSegment.\n\nVideo segment level annotation results for text detection. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e TextSegment \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[TextSegment](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/latest/Google.Cloud.VideoIntelligence.V1.TextSegment), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[TextSegment](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/latest/Google.Cloud.VideoIntelligence.V1.TextSegment), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[TextSegment](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/latest/Google.Cloud.VideoIntelligence.V1.TextSegment), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.VideoIntelligence.V1](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/latest/Google.Cloud.VideoIntelligence.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.VideoIntelligence.V1.dll\n\nConstructors\n------------\n\n### TextSegment()\n\n public TextSegment()\n\n### TextSegment(TextSegment)\n\n public TextSegment(TextSegment other)\n\nProperties\n----------\n\n### Confidence\n\n public float Confidence { get; set; }\n\nConfidence for the track of detected text. It is calculated as the highest\nover all frames where OCR detected text appears.\n\n### Frames\n\n public RepeatedField\u003cTextFrame\u003e Frames { get; }\n\nInformation related to the frames where OCR detected text appears.\n\n### Segment\n\n public VideoSegment Segment { get; set; }\n\nVideo segment where a text snippet was detected."]]