class Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1TextAnnotation
Annotations related to one detected OCR text snippet. This will contain the corresponding text, confidence value, and frame level information for each detection.
Attributes
segments[RW]
All video segments where OCR detected text appears. Corresponds to the JSON property `segments` @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1TextSegment>]
text[RW]
The detected text. Corresponds to the JSON property `text` @return [String]
version[RW]
Feature version. Corresponds to the JSON property `version` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/videointelligence_v1beta2/classes.rb, line 3504 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/videointelligence_v1beta2/classes.rb, line 3509 def update!(**args) @segments = args[:segments] if args.key?(:segments) @text = args[:text] if args.key?(:text) @version = args[:version] if args.key?(:version) end