Class: Google::Cloud::VideoIntelligence::V1p2beta1::TextAnnotation

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/video_intelligence/v1p2beta1/doc/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

Instance Attribute Details

#segmentsArray<Google::Cloud::VideoIntelligence::V1p2beta1::TextSegment>

Returns All video segments where OCR detected text appears.

Returns:



356
# File 'lib/google/cloud/video_intelligence/v1p2beta1/doc/google/cloud/videointelligence/v1p2beta1/video_intelligence.rb', line 356

class TextAnnotation; end

#textString

Returns The detected text.

Returns:

  • (String)

    The detected text.



356
# File 'lib/google/cloud/video_intelligence/v1p2beta1/doc/google/cloud/videointelligence/v1p2beta1/video_intelligence.rb', line 356

class TextAnnotation; end