class Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1TextSegment

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::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1TextFrame>]

segment[RW]

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

Public Class Methods

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