Class: Google::Cloud::VideoIntelligence::V1p2beta1::TextSegment
- Inherits:
-
Object
- Object
- Google::Cloud::VideoIntelligence::V1p2beta1::TextSegment
- Defined in:
- lib/google/cloud/video_intelligence/v1p2beta1/doc/google/cloud/videointelligence/v1p2beta1/video_intelligence.rb
Overview
Video segment level annotation results for text detection.
Instance Attribute Summary collapse
-
#confidence ⇒ Float
Confidence for the track of detected text.
-
#frames ⇒ Array<Google::Cloud::VideoIntelligence::V1p2beta1::TextFrame>
Information related to the frames where OCR detected text appears.
-
#segment ⇒ Google::Cloud::VideoIntelligence::V1p2beta1::VideoSegment
Video segment where a text snippet was detected.
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.
334 |
# File 'lib/google/cloud/video_intelligence/v1p2beta1/doc/google/cloud/videointelligence/v1p2beta1/video_intelligence.rb', line 334 class TextSegment; end |
#frames ⇒ Array<Google::Cloud::VideoIntelligence::V1p2beta1::TextFrame>
Returns Information related to the frames where OCR detected text appears.
334 |
# File 'lib/google/cloud/video_intelligence/v1p2beta1/doc/google/cloud/videointelligence/v1p2beta1/video_intelligence.rb', line 334 class TextSegment; end |
#segment ⇒ Google::Cloud::VideoIntelligence::V1p2beta1::VideoSegment
Returns Video segment where a text snippet was detected.
334 |
# File 'lib/google/cloud/video_intelligence/v1p2beta1/doc/google/cloud/videointelligence/v1p2beta1/video_intelligence.rb', line 334 class TextSegment; end |