# Cloud Video Intelligence V1p2beta1 API - Class Google::Cloud::VideoIntelligence::V1p2beta1::TextFrame (v0.18.0)

0.18.0 (latest) 0.17.0 0.16.1 0.15.0 0.14.0 0.13.1 0.12.0 0.11.2 0.10.2 0.9.0 0.8.1 0.7.0 0.6.0 0.5.0 0.4.5 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.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #rotated_bounding_box

    def rotated_bounding_box() -> ::Google::Cloud::VideoIntelligence::V1p2beta1::NormalizedBoundingPoly

**Returns**

- ([::Google::Cloud::VideoIntelligence::V1p2beta1::NormalizedBoundingPoly](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p2beta1/latest/Google-Cloud-VideoIntelligence-V1p2beta1-NormalizedBoundingPoly)) --- Bounding polygon of the detected text for this frame.

### #rotated_bounding_box=

    def rotated_bounding_box=(value) -> ::Google::Cloud::VideoIntelligence::V1p2beta1::NormalizedBoundingPoly

**Parameter**

- **value** ([::Google::Cloud::VideoIntelligence::V1p2beta1::NormalizedBoundingPoly](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p2beta1/latest/Google-Cloud-VideoIntelligence-V1p2beta1-NormalizedBoundingPoly)) --- Bounding polygon of the detected text for this frame.
**Returns**

- ([::Google::Cloud::VideoIntelligence::V1p2beta1::NormalizedBoundingPoly](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p2beta1/latest/Google-Cloud-VideoIntelligence-V1p2beta1-NormalizedBoundingPoly)) --- Bounding polygon of the detected text for this frame.

### #time_offset

    def time_offset() -> ::Google::Protobuf::Duration

**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p2beta1/latest/Google-Protobuf-Duration)) --- Timestamp of this frame.

### #time_offset=

    def time_offset=(value) -> ::Google::Protobuf::Duration

**Parameter**

- **value** ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p2beta1/latest/Google-Protobuf-Duration)) --- Timestamp of this frame.
**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence-v1p2beta1/latest/Google-Protobuf-Duration)) --- Timestamp of this frame.