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