Reference documentation and code samples for the Cloud Video Intelligence V1 API class Google::Cloud::VideoIntelligence::V1::TextFrame.
Video frame level annotation results for text annotation (OCR). Contains information regarding timestamp and bounding box locations for the frames containing detected OCR text snippets.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#rotated_bounding_box
def rotated_bounding_box() -> ::Google::Cloud::VideoIntelligence::V1::NormalizedBoundingPoly
Returns
- (::Google::Cloud::VideoIntelligence::V1::NormalizedBoundingPoly) — Bounding polygon of the detected text for this frame.
#rotated_bounding_box=
def rotated_bounding_box=(value) -> ::Google::Cloud::VideoIntelligence::V1::NormalizedBoundingPoly
Parameter
- value (::Google::Cloud::VideoIntelligence::V1::NormalizedBoundingPoly) — Bounding polygon of the detected text for this frame.
Returns
- (::Google::Cloud::VideoIntelligence::V1::NormalizedBoundingPoly) — Bounding polygon of the detected text for this frame.
#time_offset
def time_offset() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — Timestamp of this frame.
#time_offset=
def time_offset=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — Timestamp of this frame.
Returns
- (::Google::Protobuf::Duration) — Timestamp of this frame.