Class: Google::Cloud::VideoIntelligence::V1::TextAnnotation

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

Returns All video segments where OCR detected text appears.

Returns:



854
855
856
857
# File 'proto_docs/google/cloud/videointelligence/v1/video_intelligence.rb', line 854

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

#text::String

Returns The detected text.

Returns:

  • (::String)

    The detected text.



854
855
856
857
# File 'proto_docs/google/cloud/videointelligence/v1/video_intelligence.rb', line 854

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

#version::String

Returns Feature version.

Returns:

  • (::String)

    Feature version.



854
855
856
857
# File 'proto_docs/google/cloud/videointelligence/v1/video_intelligence.rb', line 854

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