Reference documentation and code samples for the Cloud Video Intelligence V1p2beta1 API class Google::Cloud::VideoIntelligence::V1p2beta1::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::V1p2beta1::Entity
Returns
- (::Google::Cloud::VideoIntelligence::V1p2beta1::Entity) — Entity to specify the object category that this track is labeled as.
#entity=
def entity=(value) -> ::Google::Cloud::VideoIntelligence::V1p2beta1::Entity
Parameter
- value (::Google::Cloud::VideoIntelligence::V1p2beta1::Entity) — Entity to specify the object category that this track is labeled as.
Returns
- (::Google::Cloud::VideoIntelligence::V1p2beta1::Entity) — Entity to specify the object category that this track is labeled as.
#frames
def frames() -> ::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::ObjectTrackingFrame>
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::ObjectTrackingFrame>) — Information corresponding to all frames where this object track appears.
#frames=
def frames=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::ObjectTrackingFrame>
Parameter
- value (::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::ObjectTrackingFrame>) — Information corresponding to all frames where this object track appears.
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::ObjectTrackingFrame>) — Information corresponding to all frames where this object track appears.
#segment
def segment() -> ::Google::Cloud::VideoIntelligence::V1p2beta1::VideoSegment
Returns
- (::Google::Cloud::VideoIntelligence::V1p2beta1::VideoSegment) — Each object track corresponds to one video segment where it appears.
#segment=
def segment=(value) -> ::Google::Cloud::VideoIntelligence::V1p2beta1::VideoSegment
Parameter
- value (::Google::Cloud::VideoIntelligence::V1p2beta1::VideoSegment) — Each object track corresponds to one video segment where it appears.
Returns
- (::Google::Cloud::VideoIntelligence::V1p2beta1::VideoSegment) — Each object track corresponds to one video segment where it appears.