class Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1TextSegment
Video segment level annotation results for text detection.
Attributes
confidence[RW]
Confidence for the track of detected text. It is calculated as the highest over all frames where OCR detected text appears. Corresponds to the JSON property `confidence` @return [Float]
frames[RW]
Information related to the frames where OCR detected text appears. Corresponds to the JSON property `frames` @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1TextFrame>]
segment[RW]
Video segment. Corresponds to the JSON property `segment` @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1VideoSegment]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/videointelligence_v1p3beta1/classes.rb, line 808 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_v1p3beta1/classes.rb, line 813 def update!(**args) @confidence = args[:confidence] if args.key?(:confidence) @frames = args[:frames] if args.key?(:frames) @segment = args[:segment] if args.key?(:segment) end