3.5.0 (latest) 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.3.0 2.2.0

    public sealed class ObjectTrackingAnnotation : IMessage<ObjectTrackingAnnotation>, IEquatable<ObjectTrackingAnnotation>, IDeepCloneable<ObjectTrackingAnnotation>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Video Intelligence v1 API class ObjectTrackingAnnotation.

Annotations corresponding to one tracked object.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> ObjectTrackingAnnotation

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[ObjectTrackingAnnotation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/latest/Google.Cloud.VideoIntelligence.V1.ObjectTrackingAnnotation.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ObjectTrackingAnnotation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/latest/Google.Cloud.VideoIntelligence.V1.ObjectTrackingAnnotation.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[ObjectTrackingAnnotation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/latest/Google.Cloud.VideoIntelligence.V1.ObjectTrackingAnnotation.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.VideoIntelligence.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/latest/Google.Cloud.VideoIntelligence.V1.md.txt)

## Assembly

Google.Cloud.VideoIntelligence.V1.dll

## Constructors

### ObjectTrackingAnnotation()

    public ObjectTrackingAnnotation()

### ObjectTrackingAnnotation(ObjectTrackingAnnotation)

    public ObjectTrackingAnnotation(ObjectTrackingAnnotation other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `ObjectTrackingAnnotation` |

## Properties

### Confidence

    public float Confidence { get; set; }

Object category's labeling confidence of this track.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `float` |   |

### Entity

    public Entity Entity { get; set; }

Entity to specify the object category that this track is labeled as.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Entity` |   |

### Frames

    public RepeatedField<ObjectTrackingFrame> Frames { get; }

Information corresponding to all frames where this object track appears.
Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
messages in frames.
Streaming mode: it can only be one ObjectTrackingFrame message in frames.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldObjectTrackingFrame` |   |

### HasTrackId

    public bool HasTrackId { get; }

Gets whether the "track_id" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### Segment

    public VideoSegment Segment { get; set; }

Non-streaming batch mode ONLY.
Each object track corresponds to one video segment where it appears.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `VideoSegment` |   |

### TrackId

    public long TrackId { get; set; }

Streaming mode ONLY.
In streaming mode, we do not know the end time of a tracked object
before it is completed. Hence, there is no VideoSegment info returned.
Instead, we provide a unique identifiable integer track_id so that
the customers can correlate the results of the ongoing
ObjectTrackAnnotation of the same track_id over time.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `long` |   |

### TrackInfoCase

    public ObjectTrackingAnnotation.TrackInfoOneofCase TrackInfoCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ObjectTrackingAnnotationTrackInfoOneofCase` |   |

### Version

    public string Version { get; set; }

Feature version.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |