Class: Google::Cloud::VideoIntelligence::V1p2beta1::TextAnnotation

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/videointelligence/v1p2beta1/video_intelligence.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#segments::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::TextSegment>

Returns All video segments where OCR detected text appears.

Returns:



426
427
428
429
# File 'proto_docs/google/cloud/videointelligence/v1p2beta1/video_intelligence.rb', line 426

class TextAnnotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#text::String

Returns The detected text.

Returns:

  • (::String)

    The detected text.



426
427
428
429
# File 'proto_docs/google/cloud/videointelligence/v1p2beta1/video_intelligence.rb', line 426

class TextAnnotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end