# Cloud Video Intelligence V1 Client - Class ObjectTrackingFrame (2.2.0)

2.2.0 (latest) 2.1.2 2.0.5 1.15.5 1.14.2 1.13.1 1.12.16 Reference documentation and code samples for the Cloud Video Intelligence V1 Client class ObjectTrackingFrame.

Video frame level annotations for object detection and tracking. This field
stores per frame location, time offset, and confidence.

Generated from protobuf message `google.cloud.videointelligence.v1.ObjectTrackingFrame`

## Namespace

Google \\ Cloud \\ VideoIntelligence \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ normalized_bounding_box` | `https://docs.cloud.google.com/php/docs/reference/cloud-videointelligence/latest/V1.NormalizedBoundingBox` The normalized bounding box location of this object track for the frame. |
| `↳ time_offset` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Duration` The timestamp of the frame in microseconds. |

### getNormalizedBoundingBox

The normalized bounding box location of this object track for the frame.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-videointelligence/latest/V1.NormalizedBoundingBox|null` |   |

### hasNormalizedBoundingBox

### clearNormalizedBoundingBox

### setNormalizedBoundingBox

The normalized bounding box location of this object track for the frame.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-videointelligence/latest/V1.NormalizedBoundingBox` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getTimeOffset

The timestamp of the frame in microseconds.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Duration|null` |   |

### hasTimeOffset

### clearTimeOffset

### setTimeOffset

The timestamp of the frame in microseconds.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Duration` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |