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.
Implements
IMessage<ObjectTrackingAnnotation>, IEquatable<ObjectTrackingAnnotation>, IDeepCloneable<ObjectTrackingAnnotation>, IBufferMessage, IMessageNamespace
Google.Cloud.VideoIntelligence.V1Assembly
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 |
Single |
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 |
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 | |
---|---|
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 |
Int64 |
TrackInfoCase
public ObjectTrackingAnnotation.TrackInfoOneofCase TrackInfoCase { get; }
Property Value | |
---|---|
Type | Description |
ObjectTrackingAnnotation.TrackInfoOneofCase |
Version
public string Version { get; set; }
Feature version.
Property Value | |
---|---|
Type | Description |
String |