class Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2LabelFrame
Video frame level annotation results for label detection.
Attributes
confidence[RW]
Confidence that the label is accurate. Range: [0, 1]. Corresponds to the JSON property `confidence` @return [Float]
time_offset[RW]
Time-offset, relative to the beginning of the video, corresponding to the video frame for this location. Corresponds to the JSON property `timeOffset` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/videointelligence_v1p1beta1/classes.rb, line 1532 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 1537 def update!(**args) @confidence = args[:confidence] if args.key?(:confidence) @time_offset = args[:time_offset] if args.key?(:time_offset) end