Class: Google::Cloud::VideoIntelligence::V1p2beta1::TextAnnotation
- Inherits:
-
Object
- Object
- Google::Cloud::VideoIntelligence::V1p2beta1::TextAnnotation
- 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
-
#segments ⇒ ::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::TextSegment>
All video segments where OCR detected text appears.
-
#text ⇒ ::String
The detected text.
Instance Attribute Details
#segments ⇒ ::Array<::Google::Cloud::VideoIntelligence::V1p2beta1::TextSegment>
Returns All video segments where OCR detected text appears.
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.
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 |