class Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1LabelFrame

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_v1beta2/classes.rb, line 388
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 393
def update!(**args)
  @confidence = args[:confidence] if args.key?(:confidence)
  @time_offset = args[:time_offset] if args.key?(:time_offset)
end