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

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/video_intelligence/v1/doc/google/cloud/videointelligence/v1/video_intelligence.rb

Overview

Video segment level annotation results for text detection.

Instance Attribute Summary collapse

Instance Attribute Details

#confidenceFloat

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.



555
# File 'lib/google/cloud/video_intelligence/v1/doc/google/cloud/videointelligence/v1/video_intelligence.rb', line 555

class TextSegment; end

#framesArray<Google::Cloud::VideoIntelligence::V1::TextFrame>

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

Returns:



555
# File 'lib/google/cloud/video_intelligence/v1/doc/google/cloud/videointelligence/v1/video_intelligence.rb', line 555

class TextSegment; end

#segmentGoogle::Cloud::VideoIntelligence::V1::VideoSegment

Returns Video segment where a text snippet was detected.

Returns:



555
# File 'lib/google/cloud/video_intelligence/v1/doc/google/cloud/videointelligence/v1/video_intelligence.rb', line 555

class TextSegment; end