class Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1TextSegment

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::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1TextFrame>]

segment[RW]

Video segment. Corresponds to the JSON property `segment` @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/videointelligence_v1p1beta1/classes.rb, line 4713
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_v1p1beta1/classes.rb, line 4718
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