Reference documentation and code samples for the Cloud Video Intelligence V1 Client class TextAnnotation.
Annotations related to one detected OCR text snippet. This will contain the
corresponding text, confidence value, and frame level information for each
detection.
Generated from protobuf message google.cloud.videointelligence.v1.TextAnnotation
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Cloud Video Intelligence V1 Client - Class TextAnnotation (2.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.5 (latest)](/php/docs/reference/cloud-videointelligence/latest/V1.TextAnnotation)\n- [2.0.4](/php/docs/reference/cloud-videointelligence/2.0.4/V1.TextAnnotation)\n- [1.15.5](/php/docs/reference/cloud-videointelligence/1.15.5/V1.TextAnnotation)\n- [1.14.2](/php/docs/reference/cloud-videointelligence/1.14.2/V1.TextAnnotation)\n- [1.13.1](/php/docs/reference/cloud-videointelligence/1.13.1/V1.TextAnnotation)\n- [1.12.16](/php/docs/reference/cloud-videointelligence/1.12.16/V1.TextAnnotation) \nReference documentation and code samples for the Cloud Video Intelligence V1 Client class TextAnnotation.\n\nAnnotations related to one detected OCR text snippet. This will contain the\ncorresponding text, confidence value, and frame level information for each\ndetection.\n\nGenerated from protobuf message `google.cloud.videointelligence.v1.TextAnnotation`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ VideoIntelligence \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getText\n\nThe detected text.\n\n### setText\n\nThe detected text.\n\n### getSegments\n\nAll video segments where OCR detected text appears.\n\n### setSegments\n\nAll video segments where OCR detected text appears.\n\n### getVersion\n\nFeature version.\n\n### setVersion\n\nFeature version."]]