Cloud Video Intelligence V1 API - Class Google::Cloud::VideoIntelligence::V1::TextAnnotation (v0.12.0)

Reference documentation and code samples for the Cloud Video Intelligence V1 API class Google::Cloud::VideoIntelligence::V1::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::V1::TextSegment>
Returns

#segments=

def segments=(value) -> ::Array<::Google::Cloud::VideoIntelligence::V1::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.

#version

def version() -> ::String
Returns
  • (::String) — Feature version.

#version=

def version=(value) -> ::String
Parameter
  • value (::String) — Feature version.
Returns
  • (::String) — Feature version.