Class: Google::Cloud::VideoIntelligence::V1::TextSegment

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

Video segment level annotation results for text detection.

Instance Attribute Summary collapse

Instance Attribute Details

#confidence::Float

Returns Confidence for the track of detected text. It is calculated as the highest over all frames where OCR detected text appears.

Returns:

  • (::Float)

    Confidence for the track of detected text. It is calculated as the highest over all frames where OCR detected text appears.



823
824
825
826
# File 'proto_docs/google/cloud/videointelligence/v1/video_intelligence.rb', line 823

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

#frames::Array<::Google::Cloud::VideoIntelligence::V1::TextFrame>

Returns Information related to the frames where OCR detected text appears.

Returns:



823
824
825
826
# File 'proto_docs/google/cloud/videointelligence/v1/video_intelligence.rb', line 823

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

#segment::Google::Cloud::VideoIntelligence::V1::VideoSegment

Returns Video segment where a text snippet was detected.

Returns:



823
824
825
826
# File 'proto_docs/google/cloud/videointelligence/v1/video_intelligence.rb', line 823

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