Class: Google::Cloud::VideoIntelligence::V1p2beta1::TextSegment

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

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.



398
399
400
401
# File 'proto_docs/google/cloud/videointelligence/v1p2beta1/video_intelligence.rb', line 398

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

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

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

Returns:



398
399
400
401
# File 'proto_docs/google/cloud/videointelligence/v1p2beta1/video_intelligence.rb', line 398

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

#segment::Google::Cloud::VideoIntelligence::V1p2beta1::VideoSegment

Returns Video segment where a text snippet was detected.

Returns:



398
399
400
401
# File 'proto_docs/google/cloud/videointelligence/v1p2beta1/video_intelligence.rb', line 398

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