Google Cloud Video Intelligence v1 API - Class ObjectTrackingAnnotation (3.1.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 > ObjectTrackingAnnotation

Namespace

Google.Cloud.VideoIntelligence.V1

Assembly

Google.Cloud.VideoIntelligence.V1.dll

Constructors

ObjectTrackingAnnotation()

public ObjectTrackingAnnotation()

ObjectTrackingAnnotation(ObjectTrackingAnnotation)

public ObjectTrackingAnnotation(ObjectTrackingAnnotation other)
Parameter
NameDescription
otherObjectTrackingAnnotation

Properties

Confidence

public float Confidence { get; set; }

Object category's labeling confidence of this track.

Property Value
TypeDescription
Single

Entity

public Entity Entity { get; set; }

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

Property Value
TypeDescription
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
TypeDescription
RepeatedField<ObjectTrackingFrame>

Segment

public VideoSegment Segment { get; set; }

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

Property Value
TypeDescription
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
TypeDescription
Int64

TrackInfoCase

public ObjectTrackingAnnotation.TrackInfoOneofCase TrackInfoCase { get; }
Property Value
TypeDescription
ObjectTrackingAnnotation.TrackInfoOneofCase

Version

public string Version { get; set; }

Feature version.

Property Value
TypeDescription
String