Reference documentation and code samples for the Cloud Video Intelligence V1p2beta1 API class Google::Cloud::VideoIntelligence::V1p2beta1::TextFrame.
Video frame level annotation results for text annotation (OCR).
Contains information regarding timestamp and bounding box locations for the
frames containing detected OCR text snippets.
[[["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 V1p2beta1 API - Class Google::Cloud::VideoIntelligence::V1p2beta1::TextFrame (v0.14.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.14.0 (latest)](/ruby/docs/reference/google-cloud-video_intelligence-v1p2beta1/latest/Google-Cloud-VideoIntelligence-V1p2beta1-TextFrame)\n- [0.13.1](/ruby/docs/reference/google-cloud-video_intelligence-v1p2beta1/0.13.1/Google-Cloud-VideoIntelligence-V1p2beta1-TextFrame)\n- [0.12.0](/ruby/docs/reference/google-cloud-video_intelligence-v1p2beta1/0.12.0/Google-Cloud-VideoIntelligence-V1p2beta1-TextFrame)\n- [0.11.2](/ruby/docs/reference/google-cloud-video_intelligence-v1p2beta1/0.11.2/Google-Cloud-VideoIntelligence-V1p2beta1-TextFrame)\n- [0.10.2](/ruby/docs/reference/google-cloud-video_intelligence-v1p2beta1/0.10.2/Google-Cloud-VideoIntelligence-V1p2beta1-TextFrame)\n- [0.9.0](/ruby/docs/reference/google-cloud-video_intelligence-v1p2beta1/0.9.0/Google-Cloud-VideoIntelligence-V1p2beta1-TextFrame)\n- [0.8.1](/ruby/docs/reference/google-cloud-video_intelligence-v1p2beta1/0.8.1/Google-Cloud-VideoIntelligence-V1p2beta1-TextFrame)\n- [0.7.0](/ruby/docs/reference/google-cloud-video_intelligence-v1p2beta1/0.7.0/Google-Cloud-VideoIntelligence-V1p2beta1-TextFrame)\n- [0.6.0](/ruby/docs/reference/google-cloud-video_intelligence-v1p2beta1/0.6.0/Google-Cloud-VideoIntelligence-V1p2beta1-TextFrame)\n- [0.5.0](/ruby/docs/reference/google-cloud-video_intelligence-v1p2beta1/0.5.0/Google-Cloud-VideoIntelligence-V1p2beta1-TextFrame)\n- [0.4.5](/ruby/docs/reference/google-cloud-video_intelligence-v1p2beta1/0.4.5/Google-Cloud-VideoIntelligence-V1p2beta1-TextFrame) \nReference documentation and code samples for the Cloud Video Intelligence V1p2beta1 API class Google::Cloud::VideoIntelligence::V1p2beta1::TextFrame.\n\nVideo frame level annotation results for text annotation (OCR).\nContains information regarding timestamp and bounding box locations for the\nframes containing detected OCR text snippets. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #rotated_bounding_box\n\n def rotated_bounding_box() -\u003e ::Google::Cloud::VideoIntelligence::V1p2beta1::NormalizedBoundingPoly\n\n**Returns**\n\n- ([::Google::Cloud::VideoIntelligence::V1p2beta1::NormalizedBoundingPoly](./Google-Cloud-VideoIntelligence-V1p2beta1-NormalizedBoundingPoly)) --- Bounding polygon of the detected text for this frame.\n\n### #rotated_bounding_box=\n\n def rotated_bounding_box=(value) -\u003e ::Google::Cloud::VideoIntelligence::V1p2beta1::NormalizedBoundingPoly\n\n**Parameter**\n\n- **value** ([::Google::Cloud::VideoIntelligence::V1p2beta1::NormalizedBoundingPoly](./Google-Cloud-VideoIntelligence-V1p2beta1-NormalizedBoundingPoly)) --- Bounding polygon of the detected text for this frame. \n**Returns**\n\n- ([::Google::Cloud::VideoIntelligence::V1p2beta1::NormalizedBoundingPoly](./Google-Cloud-VideoIntelligence-V1p2beta1-NormalizedBoundingPoly)) --- Bounding polygon of the detected text for this frame.\n\n### #time_offset\n\n def time_offset() -\u003e ::Google::Protobuf::Duration\n\n**Returns**\n\n- ([::Google::Protobuf::Duration](./Google-Protobuf-Duration)) --- Timestamp of this frame.\n\n### #time_offset=\n\n def time_offset=(value) -\u003e ::Google::Protobuf::Duration\n\n**Parameter**\n\n- **value** ([::Google::Protobuf::Duration](./Google-Protobuf-Duration)) --- Timestamp of this frame. \n**Returns**\n\n- ([::Google::Protobuf::Duration](./Google-Protobuf-Duration)) --- Timestamp of this frame."]]