Cloud Video Intelligence V1p3beta1 API - Class Google::Cloud::VideoIntelligence::V1p3beta1::ObjectTrackingAnnotation (v0.7.0)

Reference documentation and code samples for the Cloud Video Intelligence V1p3beta1 API class Google::Cloud::VideoIntelligence::V1p3beta1::ObjectTrackingAnnotation.

Annotations corresponding to one tracked object.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#confidence

def confidence() -> ::Float
Returns
  • (::Float) — Object category's labeling confidence of this track.

#confidence=

def confidence=(value) -> ::Float
Parameter
  • value (::Float) — Object category's labeling confidence of this track.
Returns
  • (::Float) — Object category's labeling confidence of this track.

#entity

def entity() -> ::Google::Cloud::VideoIntelligence::V1p3beta1::Entity
Returns

#entity=

def entity=(value) -> ::Google::Cloud::VideoIntelligence::V1p3beta1::Entity
Parameter
Returns

#frames

def frames() -> ::Array<::Google::Cloud::VideoIntelligence::V1p3beta1::ObjectTrackingFrame>
Returns

#frames=

def frames=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1p3beta1::ObjectTrackingFrame>
Parameter
Returns

#segment

def segment() -> ::Google::Cloud::VideoIntelligence::V1p3beta1::VideoSegment
Returns

#segment=

def segment=(value) -> ::Google::Cloud::VideoIntelligence::V1p3beta1::VideoSegment
Parameter
Returns

#track_id

def track_id() -> ::Integer
Returns
  • (::Integer) — 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.

#track_id=

def track_id=(value) -> ::Integer
Parameter
  • value (::Integer) — 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.
Returns
  • (::Integer) — 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.