Class: Google::Cloud::VideoIntelligence::V1p3beta1::TextAnnotation

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/videointelligence/v1p3beta1/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::V1p3beta1::TextSegment>

Returns All video segments where OCR detected text appears.

Returns:



851
852
853
854
# File 'proto_docs/google/cloud/videointelligence/v1p3beta1/video_intelligence.rb', line 851

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

#text::String

Returns The detected text.

Returns:

  • (::String)

    The detected text.



851
852
853
854
# File 'proto_docs/google/cloud/videointelligence/v1p3beta1/video_intelligence.rb', line 851

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