Reference documentation and code samples for the Cloud Video Intelligence V1 API class Google::Cloud::VideoIntelligence::V1::Track.
A track of an object instance.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#attributes
def attributes() -> ::Array<::Google::Cloud::VideoIntelligence::V1::DetectedAttribute>
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1::DetectedAttribute>) — Optional. Attributes in the track level.
#attributes=
def attributes=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1::DetectedAttribute>
Parameter
- value (::Array<::Google::Cloud::VideoIntelligence::V1::DetectedAttribute>) — Optional. Attributes in the track level.
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1::DetectedAttribute>) — Optional. Attributes in the track level.
#confidence
def confidence() -> ::Float
Returns
- (::Float) — Optional. The confidence score of the tracked object.
#confidence=
def confidence=(value) -> ::Float
Parameter
- value (::Float) — Optional. The confidence score of the tracked object.
Returns
- (::Float) — Optional. The confidence score of the tracked object.
#segment
def segment() -> ::Google::Cloud::VideoIntelligence::V1::VideoSegment
Returns
- (::Google::Cloud::VideoIntelligence::V1::VideoSegment) — Video segment of a track.
#segment=
def segment=(value) -> ::Google::Cloud::VideoIntelligence::V1::VideoSegment
Parameter
- value (::Google::Cloud::VideoIntelligence::V1::VideoSegment) — Video segment of a track.
Returns
- (::Google::Cloud::VideoIntelligence::V1::VideoSegment) — Video segment of a track.
#timestamped_objects
def timestamped_objects() -> ::Array<::Google::Cloud::VideoIntelligence::V1::TimestampedObject>
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1::TimestampedObject>) — The object with timestamp and attributes per frame in the track.
#timestamped_objects=
def timestamped_objects=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1::TimestampedObject>
Parameter
- value (::Array<::Google::Cloud::VideoIntelligence::V1::TimestampedObject>) — The object with timestamp and attributes per frame in the track.
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1::TimestampedObject>) — The object with timestamp and attributes per frame in the track.