Cloud Video Intelligence V1p2beta1 API - Class Google::Cloud::VideoIntelligence::V1p2beta1::TextAnnotation (v0.11.2)

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

Annotations related to one detected OCR text snippet. This will contain the corresponding text, confidence value, and frame level information for each detection.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#segments

def segments() -> ::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::TextSegment>
Returns

#segments=

def segments=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::TextSegment>
Parameter
Returns

#text

def text() -> ::String
Returns
  • (::String) — The detected text.

#text=

def text=(value) -> ::String
Parameter
  • value (::String) — The detected text.
Returns
  • (::String) — The detected text.