Reference documentation and code samples for the Cloud Video Intelligence V1p3beta1 API class Google::Cloud::VideoIntelligence::V1p3beta1::TimestampedObject.
For tracking related features. An object at time_offset with attributes, and located with normalized_bounding_box.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#attributes
def attributes() -> ::Array<::Google::Cloud::VideoIntelligence::V1p3beta1::DetectedAttribute>
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1p3beta1::DetectedAttribute>) — Optional. The attributes of the object in the bounding box.
#attributes=
def attributes=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1p3beta1::DetectedAttribute>
Parameter
- value (::Array<::Google::Cloud::VideoIntelligence::V1p3beta1::DetectedAttribute>) — Optional. The attributes of the object in the bounding box.
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1p3beta1::DetectedAttribute>) — Optional. The attributes of the object in the bounding box.
#landmarks
def landmarks() -> ::Array<::Google::Cloud::VideoIntelligence::V1p3beta1::DetectedLandmark>
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1p3beta1::DetectedLandmark>) — Optional. The detected landmarks.
#landmarks=
def landmarks=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1p3beta1::DetectedLandmark>
Parameter
- value (::Array<::Google::Cloud::VideoIntelligence::V1p3beta1::DetectedLandmark>) — Optional. The detected landmarks.
Returns
- (::Array<::Google::Cloud::VideoIntelligence::V1p3beta1::DetectedLandmark>) — Optional. The detected landmarks.
#normalized_bounding_box
def normalized_bounding_box() -> ::Google::Cloud::VideoIntelligence::V1p3beta1::NormalizedBoundingBox
Returns
- (::Google::Cloud::VideoIntelligence::V1p3beta1::NormalizedBoundingBox) — Normalized Bounding box in a frame, where the object is located.
#normalized_bounding_box=
def normalized_bounding_box=(value) -> ::Google::Cloud::VideoIntelligence::V1p3beta1::NormalizedBoundingBox
Parameter
- value (::Google::Cloud::VideoIntelligence::V1p3beta1::NormalizedBoundingBox) — Normalized Bounding box in a frame, where the object is located.
Returns
- (::Google::Cloud::VideoIntelligence::V1p3beta1::NormalizedBoundingBox) — Normalized Bounding box in a frame, where the object is located.
#time_offset
def time_offset() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — Time-offset, relative to the beginning of the video, corresponding to the video frame for this object.
#time_offset=
def time_offset=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — Time-offset, relative to the beginning of the video, corresponding to the video frame for this object.
Returns
- (::Google::Protobuf::Duration) — Time-offset, relative to the beginning of the video, corresponding to the video frame for this object.